⚙️ Use standalone output for self hosted build (#1011)

This commit is contained in:
Luke Vella 2024-01-31 15:32:42 +07:00 committed by GitHub
parent 47dd3a0ff2
commit 47fb3b59d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,8 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
/** @type {import('next').NextConfig} */
const nextConfig = {
output:
process.env.NEXT_PUBLIC_SELF_HOSTED === "true" ? "standalone" : undefined,
productionBrowserSourceMaps: true,
transpilePackages: [
"@rallly/backend",