Reconfigure next to output a standalone server bundle on prod builds

This commit is contained in:
The Shittinator
2026-02-22 20:05:53 -06:00
parent 2e1f52810e
commit 2483b78212
2 changed files with 2 additions and 0 deletions

View File

@@ -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 > 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: > 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 GitLab CI
> * Added Dockerfile > * Added Dockerfile
> * Added docker-compose > * Added docker-compose

View File

@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
output: "standalone",
experimental: { experimental: {
optimizePackageImports: ["@chakra-ui/react"], optimizePackageImports: ["@chakra-ui/react"],
}, },