mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Fix for ARM building
This commit is contained in:
parent
eab8b1ab63
commit
78089fbbe7
4
build.ts
4
build.ts
|
|
@ -43,8 +43,8 @@ await $`cp -r ${process.cwd()}/node_modules/prisma dist/node_modules/`;
|
||||||
|
|
||||||
// Copy Sharp to dist
|
// Copy Sharp to dist
|
||||||
await $`mkdir -p dist/node_modules/@img`;
|
await $`mkdir -p dist/node_modules/@img`;
|
||||||
await $`cp -r node_modules/@img/sharp-libvips-linux-x64 dist/node_modules/@img`;
|
await $`cp -r node_modules/@img/sharp-libvips-linux-* dist/node_modules/@img`;
|
||||||
await $`cp -r node_modules/@img/sharp-linux-x64 dist/node_modules/@img`;
|
await $`cp -r node_modules/@img/sharp-linux-* dist/node_modules/@img`;
|
||||||
|
|
||||||
// Copy Vite build output to dist
|
// Copy Vite build output to dist
|
||||||
await $`cp -r packages/frontend/.output dist/frontend`;
|
await $`cp -r packages/frontend/.output dist/frontend`;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue