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