提交 1fbaf0b5 编写于 作者: A afc163

fix ie8 babel bug via es3ify-loader, ref ant-tool/atool-build#28

上级 424166d3
......@@ -21,12 +21,16 @@ module.exports = {
module: {
loaders: [{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'es3ify',
}, {
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'babel',
query: {
presets: ['es2015', 'react', 'stage-0'],
plugins: ['add-module-exports', 'transform-es3-member-expression-literals', 'transform-es3-property-literals']
plugins: ['add-module-exports']
}
}, {
test: /\.json$/,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册