Skip to content

Commit e9c8743

Browse files
authored
Merge pull request #359 from ilyjs/ilyjs_15_01
Ilyjs 15 01. Change package.json and all actions to update the dependencies
2 parents 11ccefa + d4d728f commit e9c8743

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

webpack.config.js

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const path = require('path');
2-
const webpack = require('webpack')
2+
33

44
module.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}
@@ -96,7 +86,6 @@ module.exports = function (env) {
9686
}
9787
]
9888
},
99-
plugins: plugins,
10089
externals: externals,
10190
resolve: {
10291
modules: [

0 commit comments

Comments
 (0)