Preparing for system design interviews?  Try bugzed.com →

rollup-plugin-codegen

JSON →
library 2.1.0 ·javascript
verified Jun 18, 2026

A Rollup plugin for generating source code modules at bundle time. Current stable version is 2.1.0, released with fixes and support for Bun and Parcel loaders. This plugin allows dynamic generation of modules based on configuration, useful for injecting environment variables, version info, or computed code. Key differentiator: it integrates directly into Rollup's build process, avoiding separate pre-build steps. Ships TypeScript types, supports ESM and CJS outputs, requires Node >=16.0. Alternative to virtual modules or manual file writes.

total hits 16
actors 6 distinct systems
last hit 25d ago AhrefsBot
GPTBot
4
Amazonbot
4
ClaudeBot
2
Script
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇫🇷 France · 🇩🇪 Germany