mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +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} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
output:
|
||||||
|
process.env.NEXT_PUBLIC_SELF_HOSTED === "true" ? "standalone" : undefined,
|
||||||
productionBrowserSourceMaps: true,
|
productionBrowserSourceMaps: true,
|
||||||
transpilePackages: [
|
transpilePackages: [
|
||||||
"@rallly/backend",
|
"@rallly/backend",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue