File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2525 "homepage" : " https://github.com/zorkow/context-menu" ,
2626 "dependencies" : {},
2727 "devDependencies" : {
28- "@babel/core" : " ^7.10 .1" ,
29- "@babel/preset-env" : " ^7.10.1 " ,
28+ "@babel/core" : " ^7.11 .1" ,
29+ "@babel/preset-env" : " ^7.11.0 " ,
3030 "babel-loader" : " ^8.1.0" ,
31- "ts-loader " : " ^6.2 .0" ,
32- "tslint" : " ^5.12.1 " ,
31+ "terser-webpack-plugin " : " ^4.1 .0" ,
32+ "tslint" : " ^6.1.3 " ,
3333 "tslint-jsdoc-rules" : " ^0.2.0" ,
3434 "tslint-unix-formatter" : " ^0.2.0" ,
3535 "typescript" : " ^3.*" ,
36- "uglifyjs-webpack-plugin" : " ^2.2.0" ,
37- "webpack" : " ^4.43.0" ,
38- "webpack-cli" : " ^3.3.11"
36+ "webpack" : " ^4.44.1" ,
37+ "webpack-cli" : " ^3.3.12"
3938 },
4039 "files" : [
4140 " LICENSE" ,
Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
2- const Uglify = require ( 'uglifyjs -webpack-plugin' ) ;
2+ const TerserPlugin = require ( 'terser -webpack-plugin' ) ;
33
44module . exports = {
55 entry : './js/index.js' ,
@@ -29,8 +29,9 @@ module.exports = {
2929 path : path . resolve ( __dirname , 'dist' )
3030 } ,
3131 optimization : {
32- minimizer : [ new Uglify ( {
33- uglifyOptions : {
32+ minimize : true ,
33+ minimizer : [ new TerserPlugin ( {
34+ terserOptions : {
3435 output : {
3536 ascii_only : true
3637 }
You can’t perform that action at this time.
0 commit comments