浏览代码

next.config.ts添加output配置项

fogwind 1 天之前
父节点
当前提交
fd5b6ec8f0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      next.config.ts

+ 1 - 0
next.config.ts

@@ -2,6 +2,7 @@ import { configHeader } from '@/utils/constants/server';
 import type { NextConfig } from "next";
 
 const nextConfig: NextConfig = {
+  output: "standalone",
   devIndicators: false,
   reactStrictMode: true,
   typescript: {