Skip to content

Commit 0cccb42

Browse files
ericyangpanclaude
andcommitted
chore: update project configuration
- Add Discord redirect route (/discord -> Discord server URL) - Remove @xyflow/react from optimizePackageImports - Add cspell to lint-staged for comprehensive spell checking - Update package-lock.json dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 01d41eb commit 0cccb42

File tree

3 files changed

+16
-174
lines changed

3 files changed

+16
-174
lines changed

next.config.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,7 @@ const nextConfig: NextConfig = {
7171

7272
// Experimental features for better performance
7373
experimental: {
74-
optimizePackageImports: [
75-
'lucide-react',
76-
'next-intl',
77-
'@mdx-js/react',
78-
'recharts',
79-
'@xyflow/react',
80-
],
74+
optimizePackageImports: ['lucide-react', 'next-intl', '@mdx-js/react', 'recharts'],
8175
},
8276

8377
// Compiler optimizations
@@ -103,6 +97,18 @@ const nextConfig: NextConfig = {
10397
ignoreDuringBuilds: false,
10498
},
10599

100+
// Redirects configuration
101+
async redirects() {
102+
return [
103+
// Redirect /discord to Discord server
104+
{
105+
source: '/discord',
106+
destination: 'https://discord.gg/u4hCpmCFCQ',
107+
permanent: true,
108+
},
109+
]
110+
},
111+
106112
// Headers for better caching and security
107113
async headers() {
108114
return [

package-lock.json

Lines changed: 0 additions & 167 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
],
9090
"*.{json,jsonc}": [
9191
"biome format --write --no-errors-on-unmatched"
92+
],
93+
"**/*.{ts,tsx,js,jsx,json,md,mdx}": [
94+
"cspell --no-must-find-files"
9295
]
9396
}
9497
}

0 commit comments

Comments
 (0)