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

This commit is contained in:
afc163
2015-06-02 20:03:33 +08:00
parent 4dc3c39a88
commit a6e0b64bee

View File

@@ -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'}