Exclude node_modules from js loaders

This commit is contained in:
Raymond Ha committed 2015-02-17 02:01:01 -05:00
1 parent 88a912c1f5
commit 43736a3d36
2 files changed
+2

No files matched your search

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