File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/@vue/cli-service Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ module.exports = (api, options) => {
28
28
} else {
29
29
const TerserPlugin = require ( 'terser-webpack-plugin' )
30
30
const terserOptions = require ( './terserOptions' )
31
- webpackConfig . optimization . minimizer ( [
32
- new TerserPlugin ( terserOptions ( options ) )
33
- ] )
31
+ webpackConfig . optimization
32
+ . minimizer ( 'terser' )
33
+ . use ( TerserPlugin , [ terserOptions ( options ) ] )
34
34
}
35
35
}
36
36
} )
Original file line number Diff line number Diff line change 74
74
"vue-loader" : " ^15.7.0" ,
75
75
"webpack" : " >=4 < 4.29" ,
76
76
"webpack-bundle-analyzer" : " ^3.3.0" ,
77
- "webpack-chain" : " ^4.11.0 " ,
77
+ "webpack-chain" : " ^5.2.4 " ,
78
78
"webpack-dev-server" : " ^3.3.1" ,
79
79
"webpack-merge" : " ^4.2.1" ,
80
80
"yorkie" : " ^2.0.0"
You can’t perform that action at this time.
0 commit comments