ie-fix / es3ify-webpack-plugin

0 stars 0 forks source link

ie8 Object.defineProperty #1

Open chenwenxian opened 7 years ago

chenwenxian commented 7 years ago

6538061f0aeb3e056d9a43be78b1e7d2

pioh commented 7 years ago

You can't translate Object.defineProperty and getters/setters to es3 and have to remove them from all used libs.

pioh commented 7 years ago

And looks like this code generated from export from 'smth'; or import as a from 'b';

chenwenxian commented 7 years ago

Okay, I'm debugging.

chenwenxian commented 7 years ago

The problem has been solved. https://github.com/zuojj/fedlab/issues/5

yeyingzhe commented 7 years ago

我也碰到这个问题,卡了一下午,请问方便发个完整的配置信息给我吗, 278806119@qq.com ,非常感谢。我用的 webpack 是2.6.1

antliu2012 commented 6 years ago

I solved this by add babel-plugin 'add-module-exports'. but that casued a new problem: babel transpiled 'core-js' with error 'Stack over flow' https://github.com/zloirock/core-js/issues/248

have you solved this problem already? I need your help if so.@yeyingzhe @chenwenxian @pioh