diff --git a/build/webpack.config.js b/build/webpack.config.js index 572b1a1..94c173d 100644 --- a/build/webpack.config.js +++ b/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: {