Preparing for system design interviews?  Try bugzed.com →

vite-legacy-interop

JSON →
library 1.0.4 ·javascript
verified Jun 18, 2026

A Vite 8 plugin that wraps legacy CJS subpath imports in ESM-compatible virtual modules to prevent runtime interop errors. Current version 1.0.4, actively maintained. Designed for Vite 8 and Rolldown, it intercepts imports like `legacy-lib/lib/Button` and replaces them with virtual ESM wrappers that handle CJS-to-ESM interop, solving `SyntaxError` and `ReferenceError` at runtime. Differentiators: targeted at Vite 8 with Rolldown, supports multiple libraries and nested subpaths, minimal configuration, includes debug logging.

total hits 16
actors 5 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
ClaudeBot
3
Script
1
Search engines
1
Humans
3

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇨🇳 China · 🇬🇧 United Kingdom