feat: reduce number of island bundles (#2082)

This commit is contained in:
Marvin Hagemeister
2023-11-28 17:23:27 +01:00
committed by GitHub
parent ef26451dc6
commit 325850719a
33 changed files with 302 additions and 142 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ async function testBuild(
await t.step("check snapshot file", async () => {
assert(
Array.isArray(snapshot.files["island-counter_default.js"]),
Array.isArray(snapshot.files["island-counter.js"]),
"Island output file not found in snapshot",
);
assert(
@@ -252,7 +252,7 @@ Deno.test("pass target options", async () => {
const { stdout, stderr } = getStdOutput(out);
const txt = await Deno.readTextFile(
path.join(fixture, "_fresh", "island-counter_default.js"),
path.join(fixture, "_fresh", "island-counter.js"),
);
assertNotMatch(