babel-plugin-polyfill-regenerator is a Babel plugin that automatically includes the regenerator-runtime polyfill when your code uses async/await or generators. By selectively adding the polyfill only when needed, it avoids unnecessary bloat in your final bundle. Ideal for targeting older environments, the plugin intelligently injects the import statement, ensuring proper execution of modern JavaScript features in browsers lacking native support. This simplifies development and optimizes code size.