Skip to article
Documentation

next.config.ts

Linked repository file from this build.

import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  agentRules: false,
  // Extra dev hosts, such as a LAN or Tailscale IP, come from the ignored .env file.
  allowedDevOrigins: (process.env.QC_DEV_ORIGINS ?? "")
    .split(",")
    .map((origin) => origin.trim())
    .filter(Boolean),
  experimental: {
    useTypeScriptCli: true,
  },
};

export default nextConfig;