Phase0
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
import type { NextConfig } from "next";
|
||||
import createNextIntlPlugin from "next-intl/plugin";
|
||||
import path from "node:path";
|
||||
|
||||
const withNextIntl = createNextIntlPlugin("./src/i18n/request.ts");
|
||||
|
||||
const isDockerBuild = process.env.DOCKER_BUILD === "1";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
...(isDockerBuild
|
||||
? {
|
||||
output: "standalone" as const,
|
||||
outputFileTracingRoot: path.join(__dirname, "../.."),
|
||||
}
|
||||
: {}),
|
||||
transpilePackages: ["@hexahost/ui"],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user