Fix: static file processed twice if outdir inside static dir (#2543)
Fixes https://github.com/denoland/fresh/issues/2541
This commit is contained in:
@@ -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");
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user