This commit is contained in:
2026-01-05 13:51:05 +08:00
commit e18fb4dc20
17 changed files with 2060 additions and 0 deletions

14
next.config.ts Normal file
View File

@@ -0,0 +1,14 @@
import type { NextConfig } from "next";
import pkgs from "./package.json";
const isDev = process.env.NODE_ENV !== "production";
console.log(`NODE_ENV: ${process.env.NODE_ENV}`);
const basePath = isDev ? "" : `${pkgs.basename}`;
const nextConfig: NextConfig = {
/* config options here */
output: 'export',
distDir: 'dist',
basePath: basePath,
};
export default nextConfig;