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

Expected identifier #1

Closed
xcatliu opened this issue Dec 21, 2015 · 8 comments
Closed

Expected identifier #1

xcatliu opened this issue Dec 21, 2015 · 8 comments

Comments

@xcatliu
Copy link
Owner

xcatliu commented Dec 21, 2015

No description provided.

@xcatliu
Copy link
Owner Author

xcatliu commented Dec 22, 2015

Maybe caused by the reserved words using in IE8.

@xcatliu
Copy link
Owner Author

xcatliu commented Dec 22, 2015

All third-party libraries which use babel src --out-dir lib have this problem.
I opened a issue: https://phabricator.babeljs.io/T6868

@xcatliu
Copy link
Owner Author

xcatliu commented Dec 23, 2015

es3ify can deal with this problem if you are using browserify to bundle js.

Remember to use global transform:

b.transform('es3ify', { global: true });

@xcatliu
Copy link
Owner Author

xcatliu commented Dec 23, 2015

@yeatszhang What option should be set if we use webpack to bundle js?

@xcatliu xcatliu closed this as completed Dec 23, 2015
@yeatszhang
Copy link

maybe use es3ify-loader

@xcatliu
Copy link
Owner Author

xcatliu commented Jan 5, 2016

@xcatliu
Copy link
Owner Author

xcatliu commented Mar 23, 2016

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

No branches or pull requests

2 participants