0
0

Use uglify-es-webpack-plugin to fix Safari/iOS issue

This commit is contained in:
syuilo 2017-05-25 15:39:26 +09:00
parent 22dd1b20ae
commit 7f292a65e1
2 changed files with 4 additions and 4 deletions

View File

@ -86,8 +86,8 @@
"swagger-jsdoc": "1.9.4",
"tslint": "5.3.2",
"uglify-es": "3.0.11",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony-v2.8.22",
"uglifyjs-webpack-plugin": "0.4.3",
"uglify-es-webpack-plugin": "0.0.2",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony",
"webpack": "2.6.0"
},
"dependencies": {

View File

@ -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();