mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
A
This commit is contained in:
parent
eb8ede41ee
commit
841d3e93f2
4
build.ts
4
build.ts
|
|
@ -18,9 +18,9 @@ await Bun.build({
|
|||
});
|
||||
|
||||
// Create pages directory
|
||||
await mkdir("dist/pages");
|
||||
await mkdir(process.cwd() + "/dist/pages");
|
||||
|
||||
// Copy Vite build output to dist
|
||||
await cp("./pages/dist", "./dist/pages/", {
|
||||
await cp(process.cwd() + "/pages/dist", process.cwd() + "/dist/pages/", {
|
||||
recursive: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue