Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 39c2aa8

Browse files
committed
polyfill process and Buffer
1 parent 42e3efa commit 39c2aa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/contract/webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ module.exports = {
2626
}),
2727
new webpack.ProvidePlugin({
2828
process: "process/browser"
29+
}),
2930
})
3031
],
3132
resolve: {
3233
fallback: {
34+
buffer: require.resolve("buffer"),
3335
crypto: require.resolve("crypto-browserify"),
3436
http: require.resolve("stream-http"),
3537
https: require.resolve("https-browserify"),

0 commit comments

Comments
 (0)