We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a1a341 commit 28182b2Copy full SHA for 28182b2
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