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
|
> 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
|
||||||
|
|||||||
@@ -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"],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user