merkle-open / generator-nitro

Your frontend? Fuel it with Nitro! Develop your frontend with a proven but flexible Node.js app, even in a large team.
MIT License
71 stars 28 forks source link

Make typescript project IE11 compatible #163

Closed ernscht closed 5 years ago

ernscht commented 5 years ago

Type of issue

The issue refers to the:

Description

There is a difference between the projects with different jsCompiler options: The "js" version runs on IE11, the "typescript" version throws js errors, because some polyfills are missing. The advantage of the "js" version is the inclusion of babel and preset-env, which automatically adds the polyfills of js-core if necessary (respects browserslist).

We should add the polyfills for IE11, or even better, find a way to automatically include necesscary polyfills respecting browserslist.