12 lines
305 B
TypeScript
12 lines
305 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const allowedDevOrigins = process.env.DEV_ALLOWED_HOSTNAMES!.split(",").map((hostname) => hostname.trim())
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
reactCompiler: true,
|
|
allowedDevOrigins,
|
|
output: "standalone",
|
|
};
|
|
|
|
export default nextConfig;
|