Exclude /bibles/ and /scripts/ folders from Next.js builds
Major performance optimization: - Completely exclude /bibles/ (7GB+) and /scripts/ directories from webpack processing - Add watchOptions to ignore these directories during development - Install ignore-loader to skip large data files - Update .nextignore with comprehensive exclusion patterns - This should reduce build memory usage from 15GB to ~2-4GB 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
DATABASE_URL=postgresql://postgres:a3ppq@10.0.0.207:5432/biblical-guide
|
||||
DB_PASSWORD=a3ppq
|
||||
|
||||
# Build optimizations
|
||||
NEXT_TELEMETRY_DISABLED=1
|
||||
# Reduce bundle analysis during builds
|
||||
DISABLE_ESLINT_PLUGIN=true
|
||||
|
||||
# Authentication
|
||||
NEXTAUTH_URL=https://biblical-guide.com
|
||||
NEXTAUTH_SECRET=development-secret-change-in-production
|
||||
|
||||
Reference in New Issue
Block a user