mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-01 23:48:53 +02:00
⚙️ Use standalone output for self hosted build (#1011)
This commit is contained in:
parent
47dd3a0ff2
commit
47fb3b59d7
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue