fix: webpack build, low memory limits, and sitemap try/catch for Docker deploy #10

Merged
administrator merged 1 commits from fix/all-deploy-fixes into main 2026-11-23 01:00:52 +00:00
  • Switch both storefronts from Turbopack to Webpack (next build --webpack)
  • Limit build workers to 1 CPU (experimental.cpus: 1)
  • Reduce NODE_OPTIONS max-old-space-size from 2048 to 1024 MB
  • Wrap sitemap.ts API calls in try/catch to prevent build crash when backend is unavailable during Docker build
  • During build, sitemap returns static paths only; at runtime it fetches full dynamic data
- Switch both storefronts from Turbopack to Webpack (next build --webpack) - Limit build workers to 1 CPU (experimental.cpus: 1) - Reduce NODE_OPTIONS max-old-space-size from 2048 to 1024 MB - Wrap sitemap.ts API calls in try/catch to prevent build crash when backend is unavailable during Docker build - During build, sitemap returns static paths only; at runtime it fetches full dynamic data
administrator added 1 commit 2026-11-23 01:00:49 +00:00
- Switch both storefronts from Turbopack to Webpack (next build --webpack)
- Limit build workers to 1 CPU (experimental.cpus: 1)
- Reduce NODE_OPTIONS max-old-space-size from 2048 to 1024 MB
- Wrap sitemap.ts API calls in try/catch to prevent build crash when backend is unavailable during Docker build
- During build, sitemap returns static paths only; at runtime it fetches full dynamic data
administrator merged commit 300df27aae into main 2026-11-23 01:00:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: administrator/Suman#10
No description provided.