Skip to content
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

Use CommonJS modules until ES3 transforms are fixed #233

Merged
merged 2 commits into from
Dec 28, 2015
Merged

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Dec 28, 2015

Our current presets didn't include ES3 transforms by default, so IE8 support is broken. Normally we would have fixed it by adding a few plugins:

  • babel-plugin-transform-es3-member-expression-literals
  • babel-plugin-transform-es3-property-literals

Unfortunately there is a bug in Babel that prevents them from working correctly in certain cases with export default declarations. Until this is resolved, we will go back to using CommonJS modules internally.

This fixes #232.

Our current presets didn't include ES3 transforms by default, so IE8 support is broken. Normally we would have fixed it by adding a few plugins:

* babel-plugin-transform-es3-member-expression-literals
* babel-plugin-transform-es3-property-literals

Unfortunately there is a [bug in Babel](https://phabricator.babeljs.io/T2817) that prevents them from working correctly in certain cases with `export default` declarations. Until this is resolved, we will go back to using CommonJS modules internally.
gaearon added a commit that referenced this pull request Dec 28, 2015
Use CommonJS modules until ES3 transforms are fixed
@gaearon gaearon merged commit 7dc3625 into master Dec 28, 2015
@gaearon gaearon deleted the commonjs-again branch December 28, 2015 22:17
@gaearon
Copy link
Contributor Author

gaearon commented Feb 2, 2016

Fixed via 65a80f8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use of dot notation 'default' breaks IE8
1 participant