mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
fix: 🚑 Bundle Sharp into worker
This commit is contained in:
parent
80b874e5fb
commit
ded8799a9c
|
|
@ -23,4 +23,9 @@ buildSpinner.text = "Transforming";
|
||||||
// Copy Drizzle migrations to dist
|
// Copy Drizzle migrations to dist
|
||||||
await $`cp -r drizzle dist/drizzle`;
|
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-linuxmusl-* dist/node_modules/@img`;
|
||||||
|
await $`cp -r node_modules/@img/sharp-linuxmusl-* dist/node_modules/@img`;
|
||||||
|
|
||||||
buildSpinner.stop();
|
buildSpinner.stop();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue