Tag

uglifyjs

0 views collected around this technical thread.

WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 27, 2021 · Frontend Development

How Webpack and Rollup Implement Tree-Shaking: A Deep Dive

This article compares the tree‑shaking mechanisms of Rollup and Webpack, explains the three stages Webpack uses (UglifyJS, BabelMinify, Terser), details side‑effects handling, configuration tips, and performance benchmarks, providing practical guidance for optimizing bundle size in modern JavaScript projects.

JavaScriptRollupTree Shaking
0 likes · 18 min read
How Webpack and Rollup Implement Tree-Shaking: A Deep Dive
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 9, 2017 · Frontend Development

Making Minified JavaScript Errors Visible: Practical Debugging Techniques

This article explores why locating errors in minified JavaScript is difficult and presents five concrete solutions—including avoiding compression, adjusting semicolons, using beautify mode, leveraging SourceMap files, and adopting Sentry—to quickly pinpoint the original source of runtime errors.

JavaScriptSentrySourceMap
0 likes · 6 min read
Making Minified JavaScript Errors Visible: Practical Debugging Techniques
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 27, 2017 · Frontend Development

How to Supercharge Your Webpack Build: 6 Proven Optimization Techniques

This article explains how to shrink Webpack bundle sizes and speed up development by applying CSS compression, tree‑shaking, UglifyJs tweaks, environment variables, CommonsChunk extraction, and various loader and plugin configurations for both production and dev environments.

Code SplittingTree Shakingbuild optimization
0 likes · 11 min read
How to Supercharge Your Webpack Build: 6 Proven Optimization Techniques