fix(runtime): make sharp optional on FreeBSD startup

This commit is contained in:
svemagie
2026-03-08 02:14:16 +01:00
parent 21d16695c2
commit 227e4e3f2a
5 changed files with 252 additions and 3 deletions

View File

@@ -40,6 +40,8 @@ export NODE_ENV="${NODE_ENV:-production}"
# Ensure runtime dependency patches are applied even if node_modules already exists.
/usr/local/bin/node scripts/patch-lightningcss.mjs
/usr/local/bin/node scripts/patch-endpoint-media-scope.mjs
/usr/local/bin/node scripts/patch-endpoint-media-sharp-runtime.mjs
/usr/local/bin/node scripts/patch-frontend-sharp-runtime.mjs
/usr/local/bin/node scripts/patch-endpoint-files-upload-route.mjs
/usr/local/bin/node scripts/patch-endpoint-files-upload-locales.mjs
/usr/local/bin/node scripts/patch-frontend-serviceworker-file.mjs