Skip to content

Commit e1a0fcf

Browse files
authored
build(webpack): Fix incremental webpack builds (upgrade to node@8.15.1) (#12408)
Perf regression in node 8.10.0 - see nodejs/node#19769
1 parent a6037ad commit e1a0fcf

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.10.0
1+
8.15.1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"webpack-profile": "yarn -s webpack --profile --json > stats.json"
146146
},
147147
"toolchain": {
148-
"node": "8.10.0",
148+
"node": "8.15.1",
149149
"yarn": "1.13.0"
150150
}
151151
}

webpack.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ const appConfig = {
296296
},
297297
},
298298
devtool: IS_PRODUCTION ? 'source-map' : 'cheap-module-eval-source-map',
299+
watchOptions: {
300+
ignored: ['node_modules'],
301+
},
299302
};
300303

301304
/**

0 commit comments

Comments
 (0)