microstates / ember

@microstates/ember - Official Microstates bindings for Ember.js
https://ember-microstates.netlify.com
MIT License
70 stars 12 forks source link

Dynamically pick which microstates dist to use #117

Closed brandynbennett closed 5 years ago

brandynbennett commented 5 years ago

Fix for #115

We need to dynamically decide which version of microstates to use at build time based on the consuming app's browser targets. This is to make sure we don't have transpiled classes and native classes mixed together.

knownasilya commented 5 years ago

This should probably be a bit more robust to handle targets that include ie, like not dead or > 1%

taras commented 5 years ago

Is there a API that says if a feature is satisfied by a query?

taras commented 5 years ago

I think we can use this: https://github.com/Nyalab/caniuse-api