Preparing for system design interviews?  Try bugzed.com →

rollup-swc-preserve-directives

JSON →
library 0.7.0 ·javascript
verified Jun 18, 2026

Rollup plugin that uses SWC to preserve directives such as shebang and string directives (e.g., 'use strict', 'use asm') in bundled output. Version 0.7.0 is the latest stable; updated on demand. It integrates with Rollup build pipeline to ensure important code-level annotations are not stripped during minification or transformation, unlike naive bundlers. Differentiates itself by being SWC-based (fast, Rust-powered) and designed specifically for directive preservation.

total hits 10
actors 4 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
ClaudeBot
2
Script
1

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