harshwardhan
Fri Nov 17 2017
when using webpack-uglify to minify your code if you face a situation where your build fails with syntex error try setting
"uglify-js": true
this will run all the transformations, however you can use "useBuiltIns": true
with that option to only include polyfills for your target browsers