commit 32e088b5a2c599beacc740e14668bb32cc21769a
parent b30d2092353c2c8f2165d771a629bbc718b49a93
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Sat, 27 Sep 2025 15:28:33 +0900
delete nextconfig setting
Diffstat:
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/next.config.ts b/next.config.ts
@@ -1,17 +1,6 @@
import type { NextConfig } from 'next';
-const repositoryName: string = 'nextjs';
-const isProduction: boolean = process.env.NODE_ENV === 'production';
-
const nextConfig: NextConfig = {
- devIndicators: false,
- output: 'export', // 静的書き出し
- ...(isProduction // 本番環境ではbasePath、assetPrefixを変更
- ? {
- basePath: `/${repositoryName}`,
- assetPrefix: `/${repositoryName}/`,
- }
- : {}),
};
export default nextConfig;