-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
全局模式下引用antd,IE8环境报错 #1970
Comments
这个问题之前修复过。但是不知道为何 https://github.com/ant-design/antd-tools/blob/master/lib/getWebpackConfig.js#L83 这里没作用。 @ddcat1115 一并和 #1968 看下吧。本地确保打包出来的是下面这样的,在 IE8下不报错后,再发布一个新版: - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } |
谢谢,大概几点完成,我们这边也同步更新到我们项目里。 发自我的 iPhone 在 2016年6月5日,19:21,偏右 <notifications@github.commailto:notifications@github.com> 写道: 这个问题之前修复过。但是不知道为何 https://github.com/ant-design/antd-tools/blob/master/lib/getWebpackConfig.js#L83 这里没作用。 @ddcat1115https://github.com/ddcat1115 一并和 #1968#1968 看下吧。本地确保打包出来的是下面这样的再发布一个新版:
― |
修改后报新的错误
SCRIPT1010: 缺少标识符 var TabPane = _react2.default.createClass({ |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
SCRIPT1028: 缺少标识符、字符串或数字
The text was updated successfully, but these errors were encountered: