mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
Merge pull request #39 from victor-homyakov/patch-1
Use `jsx-loader?harmony` as in webpack.config.js
This commit is contained in:
@@ -28,7 +28,7 @@ module.exports = function (config) {
|
|||||||
loader: 'url-loader?limit=10000&mimetype=image/png'
|
loader: 'url-loader?limit=10000&mimetype=image/png'
|
||||||
}, {
|
}, {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loader: '<% if (es6) { %>6to5!<% }%>jsx-loader'
|
loader: '<% if (es6) { %>6to5!<% }%>jsx-loader?harmony'
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user