mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Use jsx-loader?harmony as in webpack.config.js
This commit is contained in:
parent
722bc13c24
commit
ac3ad84cbd
@ -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'
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user