refactor: move frontend code into view
This commit is contained in:
2
build.ts
2
build.ts
@@ -5,7 +5,7 @@ import path from "node:path";
|
||||
const outdir = path.join(process.cwd(), "dist");
|
||||
await rm(outdir, { recursive: true, force: true });
|
||||
|
||||
const entrypoints = [...new Bun.Glob("src/**/*.html").scanSync()];
|
||||
const entrypoints = [...new Bun.Glob("view/**/*.html").scanSync()];
|
||||
|
||||
const result = await Bun.build({
|
||||
entrypoints,
|
||||
|
||||
Reference in New Issue
Block a user