Use uglifyjs-webpack-plugin instead of uglify-es-webpack-plugin
Because uglify-es-webpack-plugin is now deprecated
This commit is contained in:
parent
b5f724381e
commit
866d5428bc
3 changed files with 9 additions and 11 deletions
|
@ -1,3 +1,3 @@
|
|||
const UglifyEsPlugin = require('uglify-es-webpack-plugin');
|
||||
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
|
||||
|
||||
export default () => new UglifyEsPlugin();
|
||||
export default () => new UglifyJsPlugin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue