Skip to content

Commit 0a14b69

Browse files
committed
Add http2 to remix polyfills
Needed for using s2 client-side.
1 parent 2106260 commit 0a14b69

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

apps/webapp/remix.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,12 @@ module.exports = {
2828
"parse-duration",
2929
"uncrypto",
3030
],
31-
browserNodeBuiltinsPolyfill: { modules: { path: true, os: true, crypto: true } },
31+
browserNodeBuiltinsPolyfill: {
32+
modules: {
33+
path: true,
34+
os: true,
35+
crypto: true,
36+
http2: true,
37+
},
38+
},
3239
};

0 commit comments

Comments
 (0)