fix: build image libraries for baseline VPS CPUs
Some checks failed
Test and deploy / Verify production build (push) Failing after 15m48s

Replace the SIMD-dependent WebAssembly fallback with source-built libvips and Sharp. Pin the libvips archive checksum, use baseline x86-64 compiler flags, retain the native binding and runtime libraries, and check JPEG/PNG/WebP processing before compilation and in the runtime image.

Lint, type checking, and content/security tests passed. Full Docker verification was stopped at the user request; production build and baseline CPU runtime verification remain pending.
This commit is contained in:
2026-09-15 23:16:54 +03:30
parent 286c9903b8
commit 1f58461967
7 changed files with 254 additions and 58 deletions

View File

@@ -5,9 +5,7 @@ const nextConfig = {
outputFileTracingIncludes: {
'/*': [
'./migrations/**/*',
'./node_modules/@img/sharp-wasm32/**/*',
'./node_modules/@emnapi/runtime/**/*',
'./node_modules/tslib/**/*',
'./node_modules/sharp/src/build/Release/*.node',
],
},
outputFileTracingExcludes: {