Skip to content

Commit 8941db3

Browse files
Merge pull request #1350 from Hwan-seok/docs/deps-update
docs(hmr) update webpack-node-externals option property name
2 parents 4e4050a + 3faca49 commit 8941db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/recipes/hot-reload.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = function(options) {
3232
watch: true,
3333
externals: [
3434
nodeExternals({
35-
whitelist: ['webpack/hot/poll?100'],
35+
allowlist: ['webpack/hot/poll?100'],
3636
}),
3737
],
3838
plugins: [
@@ -106,7 +106,7 @@ module.exports = {
106106
target: 'node',
107107
externals: [
108108
nodeExternals({
109-
whitelist: ['webpack/hot/poll?100'],
109+
allowlist: ['webpack/hot/poll?100'],
110110
}),
111111
],
112112
module: {

0 commit comments

Comments
 (0)