xcatliu/react-ie8

Expected identifier

xcatliu opened this issue · 8 comments

Expected identifier

Maybe caused by the reserved words using in IE8.

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

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

Remember to use global transform:

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

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