mirror of
https://github.com/BlowaterNostr/blowater.git
synced 2024-10-18 15:43:20 +00:00
9 lines
318 B
TypeScript
9 lines
318 B
TypeScript
|
import { walk } from "https://deno.land/std@0.202.0/fs/walk.ts";
|
||
|
import { bundle } from "https://deno.land/x/emit@0.31.0/mod.ts";
|
||
|
|
||
|
for await (const entry of walk("./", { exts: [".test.tsx"] })) {
|
||
|
const url = new URL(entry.path, import.meta.url);
|
||
|
console.log("bundling", url.pathname);
|
||
|
await bundle(url);
|
||
|
}
|