Skip to content

Commit de3bf26

Browse files
cj-vanaclaude
andcommitted
fix: Convert next.config.ts to JS to fix Netlify build
Netlify's build environment has a race condition where TypeScript is auto-installed but not available when Next.js tries to transpile next.config.ts. Using a plain JS config avoids this issue entirely. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 33e7ae2 commit de3bf26

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

next.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
/* config options here */
4+
};
5+
6+
module.exports = nextConfig;

next.config.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)