Provide Internet Explorer support
Tip submitted by @wmarques
JHipster supports only evergreen browsers. However you can still easily support some older browsers like Internet Explorer.
In order to do that you have to:
- Set target to
es5
in yourtsconfig
- Then you have two options:
- Add the correct polyfills from ‘core-js’, if you don’t know which one you should use, check the Angular CLI project and their polyfills.
- Or use babel + Babel preset-env to automatically import the correct core-js polyfills based on a browserslist file.