提交 a6e0b64b 编写于 作者: A afc163

jsx-loader -> babel-loader in webpack.config, #5

上级 4dc3c39a
......@@ -19,8 +19,7 @@ module.exports = {
module: {
loaders: [
{test: /\.jsx$/, loader: 'jsx-loader?harmony'},
{test: /\.js$/, loader: 'jsx-loader?harmony'},
{test: /\.jsx?$/, loader: 'babel'},
{test: /\.json$/, loader: 'json-loader'},
{test: /\.less$/, loader: "style!css!less"},
{test: /\.css/, loader: 'style!css'}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册