mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Merge branch 'exclude-node_modules' of https://github.com/Shraymonks/generator-react-webpack into Shraymonks-exclude-node_modules
Signed-off-by: Simon Bailey <simon@newtriks.com> Conflicts: templates/common/_webpack.config.js templates/common/_webpack.dist.config.js
This commit is contained in:
commit
c5aa8e1e1a
@ -38,6 +38,7 @@ module.exports = {
|
||||
}],
|
||||
loaders: [{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'react-hot!<% if (es6) { %>babel!<% }%>jsx-loader?harmony'
|
||||
},<% if (stylesLanguage === 'sass') { %> {
|
||||
test: /\.sass/,
|
||||
|
||||
@ -45,6 +45,7 @@ module.exports = {
|
||||
|
||||
loaders: [{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: '<% if (es6) { %>babel!<% }%>jsx-loader?harmony'
|
||||
}, {
|
||||
test: /\.css$/,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user