c32f3e12ec
update env.example, add docker-compose.yml for start all services
17 lines
358 B
TypeScript
17 lines
358 B
TypeScript
import type { NextConfig } from "next";
|
|
import path from "path";
|
|
|
|
const isDev = process.env.NODE_ENV === "development";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
outputFileTracingRoot: path.join(__dirname, "../.."),
|
|
...(isDev && {
|
|
turbopack: {
|
|
root: path.resolve(__dirname, "../.."),
|
|
},
|
|
}),
|
|
};
|
|
|
|
export default nextConfig;
|