Files
soroushasadi/next.config.mjs
T
soroush.asadi add78d8460
ci / build (push) Failing after 23s
deploy / deploy (push) Failing after 10m12s
first commit
2026-05-31 12:47:02 +03:30

17 lines
507 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// Self-hosted via Docker: emit a minimal standalone server bundle.
output: 'standalone',
images: {
formats: ['image/avif', 'image/webp'],
},
// better-sqlite3 is a native addon and must stay external to the bundle so
// its .node binary is required from node_modules at runtime, not traced.
experimental: {
serverComponentsExternalPackages: ['better-sqlite3'],
},
};
export default nextConfig;