Really excluse node_modules

This commit is contained in:
Jaco Greeff 2017-08-04 13:44:38 +02:00
parent 2df7a5fe51
commit 1bf851ad91

View File

@ -67,7 +67,7 @@ module.exports = {
rulesEs6,
{
test: /\.js$/,
exclude: /(node_modules)/,
exclude: /node_modules/,
use: ['happypack/loader?id=babel']
},
{
@ -145,12 +145,6 @@ module.exports = {
},
resolve: {
alias: {
'~': path.resolve(__dirname, '..')
},
modules: [
path.join(__dirname, '../node_modules')
],
extensions: ['.json', '.js', '.jsx'],
unsafeCache: true
},