fix(wepack.config.prod.js): set ecma option for compress and output to 5#297
Conversation
|
Just to note - there was already a bug report on this: #288 Background: Theoretically, the best option would be to pick up the I.e.: LGTM, thanks! |
|
So.. I love IE 11 and just upgraded "react-scripts-ts": "2.15.1", but when running yarn start I get this in IE11: But this should use react-scripts-ts/config/webpack.config.dev.js right? And not the webpack.config.prod.js? I don't see any Uglify plugin in dev-mode? The production build seems to work (start at least) in IE11, but how can I get a development environment up and running while testing in IE11? tsconfig.json: |


The current configuration of UglifyJS breaks in IE11 under specific circumstances.
39d6c62
I simply copied the configuration of the create-react-app master (not yet merged) and tested it works just fine.
https://medium.com/@_meandmax_/react-16-cra-and-ie11-giving-me-headaches-c8be43b4fcb2
Here is the link to the discussion in CRA where you can also find the configuration:
react/create-react-app#4234
Was not so sure if this is the right way to do this, but 2.14 breaks in IE11.