mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-09 12:10:14 +08:00
Use jsx-loader?harmony as in webpack.config.js
This commit is contained in:
1 parent
722bc13c24
commit
ac3ad84cbd
1 file changed
+1
-1
@@ -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'
|
||||
}]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user