feat: add build.outDir option (#1797)

This commit is contained in:
Marvin Hagemeister
2023-09-20 10:40:09 +02:00
committed by GitHub
parent ff6ae7eb7f
commit 3fd8fe89d3
30 changed files with 846 additions and 448 deletions
+3 -4
View File
@@ -133,10 +133,9 @@ Deno.test({
Deno.test("calls buildStart() and buildEnd()", async () => {
const result = await runBuild("./tests/fixture_plugin_lifecycle/dev.ts");
let out = result.stdout.split("\n");
const idx = out.findIndex((line) => line.startsWith("Plugin"));
const idxEnd = out.findLastIndex((line) => line.startsWith("Plugin"));
out = out.slice(idx, idxEnd + 1);
const out = result.stdout.split("\n").filter((line) =>
line.startsWith("Plugin")
);
assertEquals(out, [
"Plugin a: buildStart",