# Rollup — Next-Generation ES Module Bundler for Libraries > Rollup is an ES module bundler designed for building JavaScript libraries and packages. It produces clean, efficient output with excellent tree-shaking, making it the preferred choice for library authors and the production bundler used by Vite. ## Install Copy the content below into your project: --- Source: https://tokrepo.com/en/workflows/rollup-next-generation-es-module-bundler-libraries-e9883503 Author: