File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
2- const webpack = require ( 'webpack' )
2+
33
44module . exports = function ( env ) {
55 env = env || { } ;
6- let plugins = [ ] ;
6+
77
88 /**
99 * If -p flag is set, minify the files
@@ -12,16 +12,6 @@ module.exports = function (env) {
1212 const src = ! env . p ;
1313 const filenamePostfix = src ? '.src' : '' ;
1414
15- if ( ! src ) {
16- plugins . push ( new webpack . optimize . UglifyJsPlugin ( {
17- compress : {
18- drop_console : true ,
19- unsafe : true
20- }
21- } )
22- )
23- }
24-
2515 /**
2616 * If -b flag is set, build bundles, and not exclude highcharts from the build
2717 * @type {boolean }
@@ -94,7 +84,6 @@ module.exports = function (env) {
9484 }
9585 ]
9686 } ,
97- plugins : plugins ,
9887 externals : externals ,
9988 resolve : {
10089 modules : [
You can’t perform that action at this time.
0 commit comments