Skip to content

Commit 5bef914

Browse files
author
Morten N.O. Henriksen
committed
Fix react-error-overlay webpack
1 parent 38d72e7 commit 5bef914

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-error-overlay/webpack.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ module.exports = {
3434
alias: {
3535
iframeScript$: path.resolve(__dirname, './lib/iframe-bundle.js'),
3636
},
37+
fallback: {
38+
fs: false,
39+
path: false,
40+
},
3741
},
3842
optimization: {
3943
nodeEnv: false,
4044
},
41-
node: {
42-
fs: 'empty',
43-
process: false,
44-
},
4545
performance: {
4646
hints: false,
4747
},

0 commit comments

Comments
 (0)