Tag

JavaScript bundler

1 views collected around this technical thread.

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

Master Rollup Plugins: From Basics to Advanced Hook Techniques

This article provides a comprehensive guide to Rollup plugins, explaining why plugins are needed, detailing hook types and their execution timing, showing how to create simple plugins with example code, and exploring internal mechanisms such as PluginDriver, hook loading, and caching.

JavaScript bundlerRollupbuild hooks
0 likes · 23 min read
Master Rollup Plugins: From Basics to Advanced Hook Techniques
MaoDou Frontend Team
MaoDou Frontend Team
Aug 27, 2019 · Frontend Development

Why Choose Rollup? A Practical Guide to Bundling JavaScript Libraries

This article introduces Rollup as a modern JavaScript bundler, explains its advantages over CommonJS and Webpack, demonstrates quick-start commands for browsers, Node.js, and UMD formats, covers tree‑shaking with ES modules, and provides a complete TypeScript‑React library setup with configuration and publishing steps.

JavaScript bundlerRollupTree Shaking
0 likes · 11 min read
Why Choose Rollup? A Practical Guide to Bundling JavaScript Libraries