Browse Source

修改分包配置

master
zq 1 week ago
parent
commit
d53956b2fd
  1. 6
      build/webpack.config.js

6
build/webpack.config.js

@ -11,7 +11,7 @@ module.exports = {
},
output: {
path: path.resolve(__dirname, '../dist'),
filename: 'zhicheng-components.umd.js',
filename: '[name].umd.js',
library: 'ZhichengUI',
libraryTarget: 'umd',
umdNamedDefine: true,
@ -72,9 +72,7 @@ module.exports = {
})
],
optimization: {
splitChunks: {
chunks: 'all'
}
splitChunks: false
},
externals: {
vue: {

Loading…
Cancel
Save