网页
综合
更新时间 2026-11-13 17:18:35
Rollup
自动蜘蛛
rollupjs.org
正文约 1117 字
Compile small pieces of code into something larger and more complex
Rollup supports many output formats: ES modules, CommonJS, UMD, SystemJS and more. Bundle not only for the web but for many other platforms as well.
Superior dead code elimination based on deep execution path analysis with the tool that brought tree-shaking to the JavaScript world.
Learn about tree-shaking
Split code based on different entry points and dynamic imports by just using the import mechanism of the output format instead of customer loader code.
How to use code-splitting
An easy to learn plugin API that allows you to implement powerful code injections and transformations with little code. Adopted by Vite and WMR.
Learn how to write plugins
Rollup is not opinionated. Many configuration options and a rich plugin interface make it the ideal bundler for special build flows and higher level tooling.
Developing for the web? Vite pre-configures Rollup for you with sensible defaults and powerful plugins while giving you an insanely fast development server.
Released under the MIT License.
Copyright © 2015-present Rollup contributors
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。