打包大小
This commit is contained in:
parent
97b709112a
commit
a498a44851
|
|
@ -37,6 +37,10 @@ const webpackConfig = merge(baseWebpackConfig, {
|
|||
filename: utils.assetsPath('js/[name].[chunkhash:8].js'),
|
||||
chunkFilename: utils.assetsPath('js/[name].[chunkhash:8].js')
|
||||
},
|
||||
performance: {
|
||||
maxEntrypointSize: 50000000,
|
||||
maxAssetSize: 30000000,
|
||||
},
|
||||
plugins: [
|
||||
// http://vuejs.github.io/vue-loader/en/workflow/production.html
|
||||
new webpack.DefinePlugin({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user