Skip to content

Use Babel 6 in loose mode to build JS #53

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

Merged
merged 1 commit into from
Jan 14, 2016

Conversation

lautis
Copy link
Contributor

@lautis lautis commented Jan 13, 2016

Using loose mode prevents disables referencing Symbol in built JS. While the loose mode could cause subtle bugs, it currently only affects one for-of loop. Requiring babel-polyfill for that would be wasteful.

Using loose mode prevents disables referencing Symbol in built JS. While
the loose mode could cause subtle bugs, it currently only affects one
for-of loop. Requiring babel-polyfill for that would be wasteful.
@17cupsofcoffee
Copy link

Seconding this (or at least, any solution that gets rid of Symbol from the build) - currently trying to load an ng-redux application in IE 11 is throwing errors because of Symbol being undefined, and loading the whole polyfill feels like a massive expense considering none of my own code requires it.

wbuchwalter added a commit that referenced this pull request Jan 14, 2016
Use Babel 6 in loose mode to build JS
@wbuchwalter wbuchwalter merged commit 03d9bee into angular-redux:master Jan 14, 2016
@wbuchwalter
Copy link
Member

@lautis 👍 Thanks, nice catch!
I will try to release that ASAP.

@wbuchwalter
Copy link
Member

Released under 3.3.0.
Thanks

@17cupsofcoffee
Copy link

Thanks to both of you! 👍

@sstorie
Copy link

sstorie commented Jan 18, 2016

Thanks for fixing this. I updated some packages last week and IE11 started choking with this error. I was a bit puzzled about where it was coming from, but this fix took care of it.

@wbuchwalter
Copy link
Member

Glad it helped! :)

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.

4 participants