ember-cli / rfcs

Archive of RFCs for changes to ember-cli (for current RFC repo see https://github.com/emberjs/rfcs)
45 stars 54 forks source link

convention for specifying browser support #103

Closed MartinMalinda closed 7 years ago

MartinMalinda commented 7 years ago

Currently both autoprefixer and babel can take a browser support params which determine what kind of polyfills need to be included.

I think it could be useful to have browserSupport property by default in config.js which could then be read both by babel and autoprefixer.

Potentionally even Ember-CLI could then filter out certain code based on the browser support (Ember.RSVP ?).

rwjblue commented 7 years ago

Good news, this has already been implemented and is available in the latest beta release! 🎉

Some links for reading through details:

MartinMalinda commented 7 years ago

That's great! I should have checked first.