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不支持Object.defineProperty有办法处理吗 #26

Open
simple890921 opened this issue Mar 18, 2019 · 3 comments
Open

大兄弟ie8不支持Object.defineProperty有办法处理吗 #26

simple890921 opened this issue Mar 18, 2019 · 3 comments

Comments

@simple890921
Copy link

image
大概呢使用 某些语法 比如SON.stringify [...a,...b]等~~~~都会被webpack编译。然后ie8就炸了。

@sayll
Copy link
Owner

sayll commented Mar 18, 2019

可以参考这篇文章:https://github.com/zuojj/fedlab/issues/5

@simple890921
Copy link
Author

可以参考这篇文章:zuojj/fedlab#5

这个文章我尝试过,使用了下面回答问题的一位大佬的解决办法后 babel-preset-es2015-loose 打包根本无法正常编译完成。难道最后只能走修改源码这条路么。。

@simple890921
Copy link
Author

可以参考这篇文章:zuojj/fedlab#5

image
我做了个奇葩方法来处理它。这个js是不会被编译的。。。。

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