We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f84f21a commit 5fb70c1Copy full SHA for 5fb70c1
transpile.deno.js
@@ -55,7 +55,7 @@ function transpile(x, name, folder) {
55
.replace('{ spawnSync }', '{ spawn }')
56
}
57
if (name === 'index.js')
58
- x += '\n;window.addEventListener("unload", () => Deno.exit(process.exitCode))'
+ x += '\n;globalThis.addEventListener("unload", () => Deno.exit(process.exitCode))'
59
60
61
const buffer = x.includes('Buffer')
0 commit comments