Fix: static file processed twice if outdir inside static dir (#2543)

Fixes https://github.com/denoland/fresh/issues/2541
This commit is contained in:
Marvin Hagemeister
2024-06-24 18:13:28 +02:00
committed by GitHub
parent a560c17e7b
commit 49839079a4
3 changed files with 11 additions and 0 deletions
+3
View File
@@ -11,18 +11,21 @@ Deno.test({
builder.onTransformStaticFile(
{ pluginName: "A", filter: /\.css$/ },
() => {
console.trace();
logs.push("A");
},
);
builder.onTransformStaticFile(
{ pluginName: "B", filter: /\.css$/ },
() => {
console.trace();
logs.push("B");
},
);
builder.onTransformStaticFile(
{ pluginName: "C", filter: /\.css$/ },
() => {
console.trace();
logs.push("C");
},
);