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.
30 lines
742 B
JavaScript
30 lines
742 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
serverExternalPackages: ['better-sqlite3'],
|
|
outputFileTracingIncludes: {
|
|
'/*': [
|
|
'./migrations/**/*',
|
|
'./node_modules/sharp/src/build/Release/*.node',
|
|
],
|
|
},
|
|
outputFileTracingExcludes: {
|
|
'*': ['./data/**/*', './backups/**/*', './**/auth-secret', './**/*.sqlite*', './.env*'],
|
|
},
|
|
experimental: {
|
|
globalNotFound: true,
|
|
},
|
|
turbopack: {
|
|
root: process.cwd(),
|
|
},
|
|
images: {
|
|
formats: ['image/webp'],
|
|
qualities: [60, 75, 85],
|
|
deviceSizes: [360, 390, 640, 768, 1024, 1280, 1440],
|
|
imageSizes: [32, 48, 64, 72, 96, 128, 192, 256, 320],
|
|
minimumCacheTTL: 86_400,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|