-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ie11 support #115
Comments
I think everything should go through babel, so if your
|
We have ie11 in our targets, but es6+ syntax is showing up in our vendor.js from microstates. |
May be along a similar vein as embroider-build/ember-auto-import#41 |
I tried adding an ember-auto-import config to point
|
Ok seems like this is because the test/dummy app are using es6+ code and the microstates.js library is now using es5 code so microstates is trying to instantiate a class without |
Seems related to thefrontside/microstates#136 as well |
Can't use the UMD version because it only transpiles to Chrome 58 https://github.com/microstates/microstates.js/blob/master/rollup.config.js#L54 |
@brandynbennett can you comment on thefrontside/microstates#136 to move it back to the top. |
Yeah, this an irritating part the current situation with transpiration and libraries. Trying to figure this out has been like juggling compromises. I'll comment in |
@brandynbennett it looks like there might be a solution in the works for this in ember-auto-import. Once that work is complete we'd need to change this library to use the new API that In the mean time, if this problem is blocking you from using microstates for a production app, then we might need to find a temporary work around. The work around might be to detect the babel target and automatically include a different build. Let me know if this is blocking you. If it is, I'll prioritize it to introduce a work around ASAP. |
Thanks @taras. We found a hacky workaround which involved mutating the imported file source in
|
Released in 0.12.3 Thank you! |
Thanks so much for the quick release! |
When trying to use the addon in ie11 our app doesn't load. It looks like
index.js
is importingmicrostates/dist/microstates.cjs
which isn't transpiled.The text was updated successfully, but these errors were encountered: