mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-09 09:00:16 -05:00
feat!: upgrade to webpack-chain v5 (#3913)
This commit is contained in:
@@ -28,9 +28,9 @@ module.exports = (api, options) => {
|
||||
} else {
|
||||
const TerserPlugin = require('terser-webpack-plugin')
|
||||
const terserOptions = require('./terserOptions')
|
||||
webpackConfig.optimization.minimizer([
|
||||
new TerserPlugin(terserOptions(options))
|
||||
])
|
||||
webpackConfig.optimization
|
||||
.minimizer('terser')
|
||||
.use(TerserPlugin, [terserOptions(options)])
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
"vue-loader": "^15.7.0",
|
||||
"webpack": ">=4 < 4.29",
|
||||
"webpack-bundle-analyzer": "^3.3.0",
|
||||
"webpack-chain": "^4.11.0",
|
||||
"webpack-chain": "^5.2.4",
|
||||
"webpack-dev-server": "^3.3.1",
|
||||
"webpack-merge": "^4.2.1",
|
||||
"yorkie": "^2.0.0"
|
||||
|
||||
Reference in New Issue
Block a user