Switch language한국어
Back to the list

Build Failure: Webpack4 → Vite Migration of a 5-Year CMS Project

TL;DR AI

Key summary

2 min read
  1. CMS project serves as a central admin system for multiple services manages 40+ domains and 30+ dynamic routes.

  2. Technology stack used React 16.13.1, TypeScript 4.4.0, MobX 5.15.6, Material-UI 4.11.0, Tailwind (PostCSS v7), Webpack 4.44.2, Node.js 16.18.0 as of project start in 2020.

  3. CI build began failing due to Out of Memory errors in February–March 2025, cI started failing with OOM in 2025.

  4. Memory allocation builds required at least 6GB of Node heap to succeed; 1–5.5GB caused OOM local builds required increased Node heap size.

  5. Webpack4 build produced V8 fatal OOM error: 'Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory' error observed when memory insufficient.

Read the original