Skip to content

Commit fcb488c

Browse files
authored
Update webpack.config.js
Fix for "configuration.node has an unknown property 'fs'"
1 parent 945ab7a commit fcb488c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

webpack.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ module.exports = {
99
libraryTarget: 'var'
1010

1111
},
12-
node: {
13-
fs: "empty"
12+
resolve: {
13+
fallback: {
14+
fs: false
15+
}
1416
}
1517
};

0 commit comments

Comments
 (0)