We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation .
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在config.ts中配置dynamicImport?false???
在config.ts中增加dynamicImport:false配置,然后?行npm run build
期望配置后,js打包成1?文件
在pro client生成的simple模式的?目配置文件config.ts中,加1行配置:dynamicImport: false,
ant-design-pro@6.0.0 build max build
fatal - AssertionError [ERR_ASSERTION]: Invalid config keys: dynamicImport at Config.validateConfig (/Users/chenboxiang/dev/fe-projects/xproject-b-pc/node_modules/@umijs/core/dist/config/config.js:209:31) at Config.getConfig (/Users/chenboxiang/dev/fe-projects/xproject-b-pc/node_modules/@umijs/core/dist/config/config.js:67:12) at Service.resolveConfig (/Users/chenboxiang/dev/fe-projects/xproject-b-pc/node_modules/@umijs/core/dist/service/service.js:352:55) at Service.run (/Users/chenboxiang/dev/fe-projects/xproject-b-pc/node_modules/@umijs/core/dist/service/service.js:276:42) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Service.run2 (/Users/chenboxiang/dev/fe-projects/xproject-b-pc/node_modules/umi/dist/service/service.js:65:12) at async run (/Users/chenboxiang/dev/fe-projects/xproject-b-pc/node_modules/umi/dist/cli/cli.js:56:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } fatal - A complete log of this run can be found in: fatal - /Users/chenboxiang/dev/fe-projects/xproject-b-pc/node_modules/.cache/logger/umi.log fatal - Consider reporting a GitHub issue on https://github.com/umijs/umi/issues
The text was updated successfully, but these errors were encountered:
No branches or pull requests