We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b855904 commit a288ac9Copy full SHA for a288ac9
packages/scramjet/rspack.config.ts
@@ -264,8 +264,8 @@ const iifeConfig = createScramjetConfig({
264
path: join(scramjetdir, "dist"),
265
iife: true,
266
library: {
267
- type: "var",
268
- name: "$scramjet",
+ type: "assign",
+ name: "self.$scramjet",
269
},
270
271
rewriterWasm: "undefined",
@@ -287,8 +287,8 @@ const iifeBundledConfig = createScramjetConfig({
287
288
289
290
291
292
293
294
rewriterWasm: JSON.stringify(wasmB64),
0 commit comments