Skip to content

Commit 7a5d620

Browse files
committed
Do not try to include Node's fs module
This was caused by rdflib now `require`ing solid-auth-cli, which Webpack then tried to bundle. Since that code path should never be hit in production, we can safely exclude it from the bundle.
1 parent 9af8d69 commit 7a5d620

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ module.exports = {
3030
}),
3131
new ForkTsCheckerWebpackPlugin(),
3232
],
33-
};
33+
node: {
34+
fs: 'empty'
35+
}
36+
}

0 commit comments

Comments
 (0)