We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22a9d59 + de083b0 commit 773c49dCopy full SHA for 773c49d
esbuild-shim.js
@@ -27,6 +27,13 @@ global.navigator = navigator
27
global.window = window
28
global.document = document
29
30
+// Polyfill URLSearchParams (which is a constructor). Just add a dummy "get" method that returns an empty string
31
+global.URLSearchParams = class {
32
+ get() {
33
+ return ""
34
+ }
35
+}
36
+
37
// Intl polyfill is required until v8go supports Intl
38
class NoopFormat {
39
format(arg0) {
0 commit comments