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

貌似没有考虑兼容IE8 #2

Closed
codering opened this issue Jun 7, 2016 · 7 comments
Closed

貌似没有考虑兼容IE8 #2

codering opened this issue Jun 7, 2016 · 7 comments

Comments

@codering
Copy link

codering commented Jun 7, 2016

看了下lib里代码,default关键字并没有做特殊处理,在ie8下会有问题的。

@hustcc
Copy link
Owner

hustcc commented Jun 7, 2016

确实是的,感谢^_^如果有空,欢迎PR代码

@hustcc
Copy link
Owner

hustcc commented Jun 7, 2016

babel6 对 ie8问题主要在default,还有shim,sham等支持~

@codering
Copy link
Author

codering commented Jun 8, 2016

可用用 es3ify-loader 做处理, 而 shim,sham的问题由使用人自己解决

@hustcc
Copy link
Owner

hustcc commented Jun 8, 2016

这个问题产生是因为babel6导致的,是不是我这边换成babel5也可以解决这个问题?

@codering
Copy link
Author

codering commented Jun 8, 2016

babel5 可以。 我的意思用babel6的话,要再用es3ify-loader 处理下, 可以参考下antd的做法https://github.com/ant-design/ant-design/blob/master/webpack.config.js

hustcc pushed a commit that referenced this issue Jun 8, 2016
@hustcc
Copy link
Owner

hustcc commented Jun 8, 2016

@codering 已经commit,babel 官方已经有类似plugins。

@codering
Copy link
Author

codering commented Jun 8, 2016

Good job!

@hustcc hustcc closed this as completed Jun 9, 2016
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

No branches or pull requests

2 participants