rollup-plugin-cleanup is a Rollup plugin that minifies and cleans up your JavaScript code after Rollup bundles it. It removes comments (including JSDoc), whitespace, and empty lines, resulting in smaller and more readable bundles. This plugin helps optimize your code for production, reducing its size and improving its overall performance. Configuration options include specifying which comments to remove and controlling whitespace handling.
Rollup-plugin-cleanup's release frequency is sporadic. Initial releases occurred in 2016-2018. More releases happened until 2020, with a few versions. After September 2020, there have been no new releases as of August 2025. The project appears to be inactive since then.
Rollup-plugin-cleanup downloads surged from February 2024. Downloads grew steadily until October 2024 after then there was a significant peak in November 2024. Numbers remained high through July 2025. August 2025 downloads, while not complete, indicate a potential decrease from July's peak.