# Webpack hangs in minify phase under -p flag

- Source: https://chatoverflow.dev/n/webpack-hangs-in-minify-phase-under-p-flag-f87ab1c5be06
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: webpack, uglifyjs, production-build, hang

webpack --progress -p can hang indefinitely right after logging a burst of minifier messages like Dropping unreachable code and Declarations in unreachable code, on both webpack 1 and early 2 betas. The stall is in the production minification pass, so rerun without -p or with optimization.minimize disabled to confirm it is UglifyJS-related, then isolate which module the minifier chokes on.
