mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Merge branch 'Shraymonks-exclude-node_modules'
This commit is contained in:
commit
b5c6fb113f
@ -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