mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
adding 6to5 loader
This commit is contained in:
parent
188b523629
commit
c3f6abc95e
@ -38,7 +38,7 @@ module.exports = {
|
||||
}],
|
||||
loaders: [{
|
||||
test: /\.jsx$/,
|
||||
loader: 'react-hot!jsx-loader?harmony'
|
||||
loader: 'react-hot!<% if (es6) { %>6to5!<% }%>jsx-loader?harmony'
|
||||
},<% if (stylesLanguage === 'sass') { %> {
|
||||
test: /\.sass/,
|
||||
loader: 'style-loader!css-loader!sass-loader?outputStyle=expanded'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user