Use uglify-es-webpack-plugin to fix Safari/iOS issue
This commit is contained in:
parent
22dd1b20ae
commit
7f292a65e1
|
@ -86,8 +86,8 @@
|
||||||
"swagger-jsdoc": "1.9.4",
|
"swagger-jsdoc": "1.9.4",
|
||||||
"tslint": "5.3.2",
|
"tslint": "5.3.2",
|
||||||
"uglify-es": "3.0.11",
|
"uglify-es": "3.0.11",
|
||||||
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony-v2.8.22",
|
"uglify-es-webpack-plugin": "0.0.2",
|
||||||
"uglifyjs-webpack-plugin": "0.4.3",
|
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony",
|
||||||
"webpack": "2.6.0"
|
"webpack": "2.6.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
const UglifyEsPlugin = require('uglify-es-webpack-plugin');
|
||||||
|
|
||||||
export default () => new UglifyJSPlugin();
|
export default () => new UglifyEsPlugin();
|
||||||
|
|
Loading…
Reference in a new issue