This commit is contained in:
2026-01-05 14:11:43 +08:00
parent e18fb4dc20
commit 704a02f217
2 changed files with 66 additions and 1 deletions

View File

@@ -6,9 +6,10 @@ console.log(`NODE_ENV: ${process.env.NODE_ENV}`);
const basePath = isDev ? "" : `${pkgs.basename}`;
const nextConfig: NextConfig = {
/* config options here */
output: 'export',
output: isDev ? undefined : 'export',
distDir: 'dist',
basePath: basePath,
trailingSlash: true,
};
export default nextConfig;