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: [{
|
loaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
|
exclude: /node_modules/,
|
||||||
loader: 'react-hot!<% if (es6) { %>babel!<% }%>jsx-loader?harmony'
|
loader: 'react-hot!<% if (es6) { %>babel!<% }%>jsx-loader?harmony'
|
||||||
},<% if (stylesLanguage === 'sass') { %> {
|
},<% if (stylesLanguage === 'sass') { %> {
|
||||||
test: /\.sass/,
|
test: /\.sass/,
|
||||||
|
|||||||
@ -45,6 +45,7 @@ module.exports = {
|
|||||||
|
|
||||||
loaders: [{
|
loaders: [{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
|
exclude: /node_modules/,
|
||||||
loader: '<% if (es6) { %>babel!<% }%>jsx-loader?harmony'
|
loader: '<% if (es6) { %>babel!<% }%>jsx-loader?harmony'
|
||||||
}, {
|
}, {
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user