Skip to content

Commit 038b6c6

Browse files
committed
fix(webpack): resolve buffer and path
Signed-off-by: Julius Härtl <[email protected]>
1 parent b6ebd52 commit 038b6c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ webpackConfig.resolve.modules = [
4848
'node_modules'
4949
]
5050

51+
webpackConfig.resolve.fallback = {
52+
buffer: require.resolve('buffer/'),
53+
path: require.resolve('path-browserify'),
54+
}
55+
5156
module.exports = webpackConfig

0 commit comments

Comments
 (0)