From 2483b78212e28d584bf52f0314e340a8fa339824 Mon Sep 17 00:00:00 2001 From: The Shittinator <26260585-shittinator@users.noreply.gitlab.com> Date: Sun, 22 Feb 2026 20:05:53 -0600 Subject: [PATCH] Reconfigure next to output a standalone server bundle on prod builds --- README.md | 1 + next.config.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index b29c65e..7ee2005 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ > This is a fork of the upstream service by Matty of NiceCrew.digital, available at https://gitea.nicecrew.digital/matty/lmgcitfy > > Changes to this GCI-branded fork are mostly to containerize it and automate builds: +> * Reconfigured next to output a standalone server bundle > * Added GitLab CI > * Added Dockerfile > * Added docker-compose diff --git a/next.config.ts b/next.config.ts index 8ff99fb..e2c3a5a 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ + output: "standalone", experimental: { optimizePackageImports: ["@chakra-ui/react"], },