fix: 🚑 Correctly use Musl version of Sharp in the production build

This commit is contained in:
Jesse Wierzbinski 2024-11-23 14:35:04 +01:00
parent 5b6924810e
commit afc5a74a40
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -43,8 +43,8 @@ await $`cp plugins/openid/manifest.json dist/plugins/openid/manifest.json`;
// Copy Sharp to dist
await $`mkdir -p 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-* 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`;
// Copy unzipit and uzip-module to dist
await $`cp -r node_modules/unzipit dist/node_modules/unzipit`;

BIN
bun.lockb

Binary file not shown.