Exclude node_modules from js loaders

This commit is contained in:
Raymond Ha 2015-02-17 02:01:01 -05:00
parent 88a912c1f5
commit 43736a3d36
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) { %>6to5!<% }%>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) { %>6to5!<% }%>jsx-loader?harmony'
}, {
test: /\.css$/,