first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/** @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;
|
||||
Reference in New Issue
Block a user