Skip to content

Commit

Permalink
Use "standalone" output to build Next.js as a standalone app when bei…
Browse files Browse the repository at this point in the history
…ng built e.g. in Docker. (calcom#15405)

Co-authored-by: Jack W <[email protected]>
  • Loading branch information
2 people authored and p6l-richard committed Jul 22, 2024
1 parent 98ad316 commit 3314069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const matcherConfigUserTypeEmbedRoute = {

/** @type {import("next").NextConfig} */
const nextConfig = {
output: "standalone",
experimental: {
// externalize server-side node_modules with size > 1mb, to improve dev mode performance/RAM usage
serverComponentsExternalPackages: ["next-i18next"],
Expand Down

0 comments on commit 3314069

Please sign in to comment.