Really excluse node_modules
This commit is contained in:
parent
2df7a5fe51
commit
1bf851ad91
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user