mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
Finish full migration to Drizzle
This commit is contained in:
parent
0ca77e9dcc
commit
b1ee6e5684
7 changed files with 5 additions and 43 deletions
3
build.ts
3
build.ts
|
|
@ -32,6 +32,9 @@ await Bun.build({
|
|||
// I apologize for this
|
||||
await $`sed -i 's|import("node_modules/|import("./node_modules/|g' dist/*.js`;
|
||||
|
||||
// Copy Drizzle migrations to dist
|
||||
await $`cp -r drizzle dist/drizzle`;
|
||||
|
||||
// Copy Sharp to dist
|
||||
await $`mkdir -p dist/node_modules/@img`;
|
||||
await $`cp -r node_modules/@img/sharp-libvips-linux-* dist/node_modules/@img`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue