16 lines
492 B
JavaScript
16 lines
492 B
JavaScript
|
|
/** @type {import('next').NextConfig} */
|
||
|
|
const nextConfig = {
|
||
|
|
reactStrictMode: true,
|
||
|
|
poweredByHeader: false,
|
||
|
|
// Standalone output bundles only what's needed to run the app —
|
||
|
|
// shrinks the production image from ~700MB to ~150MB and avoids
|
||
|
|
// shipping node_modules into the container.
|
||
|
|
output: "standalone",
|
||
|
|
experimental: {
|
||
|
|
// Keep server actions off — we use route handlers for the PB proxy
|
||
|
|
serverActions: { allowedOrigins: ["*"] }
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
export default nextConfig;
|