Reconfigure next to output a standalone server bundle on prod builds
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
output: "standalone",
|
||||
experimental: {
|
||||
optimizePackageImports: ["@chakra-ui/react"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user