Commit 083358b89a028ef819d13782edba23a749a02de3
1 parent
522fc517
v3.8.3 优化代码
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-ui-admin/babel.config.js
| ... | ... | @@ -4,7 +4,7 @@ module.exports = { |
| 4 | 4 | '@vue/cli-plugin-babel/preset' |
| 5 | 5 | ], |
| 6 | 6 | 'env': { |
| 7 | - 'development': { | |
| 7 | + 'production': { | |
| 8 | 8 | // babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require(). |
| 9 | 9 | // This plugin can significantly increase the speed of hot updates, when you have a large number of pages. |
| 10 | 10 | 'plugins': ['dynamic-import-node'] | ... | ... |