Tagged articles
2 articles
Page 1 of 1
Goodme Frontend Team
Goodme Frontend Team
Jan 13, 2025 · Frontend Development

Why Upgrading to Webpack 5 Breaks process.env and How to Fix It

This article recounts a production white‑screen caused by missing node polyfills after upgrading to webpack 5, explains how the undefined process.env variables triggered the crash, and shows how to diagnose and resolve the issue using DefinePlugin or a polyfill plugin.

DefinePluginfrontend debuggingnode polyfill
0 likes · 6 min read
Why Upgrading to Webpack 5 Breaks process.env and How to Fix It
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 2, 2022 · Frontend Development

How Upgrading to Webpack 5 Slashed Build Times by 60% in a Large Music App

This guide details how a massive music‑artist web application reduced its full build time from 140 seconds to 55 seconds and its incremental compile time from up to 80 seconds down to about 1 second by migrating from Webpack 4 to Webpack 5, including preparation steps, configuration changes, and common pitfalls.

Build OptimizationJavaScriptMigration Guide
0 likes · 17 min read
How Upgrading to Webpack 5 Slashed Build Times by 60% in a Large Music App