0

I've to update uglify-webpack-plugin due to server restrictions, so I found terser-webpack-plugin is in the suggestion, however it doesn't support IE11 by default.

It just shows a syntax error in the vendor.js file, while loading the app.

Anyone faced this issue before, please guide me. Thanks.

Aniruddha Shevle
  • 4,602
  • 4
  • 22
  • 36
  • Do you have a webpack setup with .browserslistrc ? – Luckyfella Apr 01 '22 at 09:19
  • As far as I know, most of these plugin scripts use `es6` syntax, and IE11 is not compatible with it, IE11 can only parse `es5` syntax, so you may need a transpiler such as [Babel-polyfill](https://babeljs.io/docs/en/babel-polyfill). If possible, could you provide more details, like error message in devtool console? – Xudong Peng Apr 04 '22 at 09:35

0 Answers0