Skip to content

Commit 6bd7911

Browse files
Debugging dynamic/static build.
1 parent 6caab0d commit 6bd7911

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

next.config.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ const nextConfig: NextConfig = {
6060
},
6161
}
6262

63-
// Only include page.* files for static export, include route.* for all other builds
64-
if (isStaticExport) {
65-
(nextConfig as any).pageExtensions = ['page.tsx', 'page.ts', 'page.jsx', 'page.js']
66-
} else {
67-
(nextConfig as any).pageExtensions = [
68-
'route.ts', 'route.js', 'page.tsx', 'page.ts', 'page.jsx', 'page.js'
69-
]
70-
}
63+
// // Only include page.* files for static export, include route.* for all other builds
64+
// if (isStaticExport) {
65+
// (nextConfig as any).pageExtensions = ['page.tsx', 'page.ts', 'page.jsx', 'page.js']
66+
// } else {
67+
// (nextConfig as any).pageExtensions = [
68+
// 'route.ts', 'route.js', 'page.tsx', 'page.ts', 'page.jsx', 'page.js'
69+
// ]
70+
// }
7171
export default nextConfig

0 commit comments

Comments
 (0)