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:
Simon Bailey 2015-02-17 09:55:40 +00:00
commit c5aa8e1e1a
2 changed files with 2 additions and 0 deletions

View File

@ -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/,

View File

@ -45,6 +45,7 @@ module.exports = {
loaders: [{
test: /\.js$/,
exclude: /node_modules/,
loader: '<% if (es6) { %>babel!<% }%>jsx-loader?harmony'
}, {
test: /\.css$/,