Vite plugin that intercepts subpath imports of legacy CJS libraries and
wraps them in ESM-compatible virtual modules, preventing CommonJS interop
errors at runtime with Rolldown.
Supports nested subpaths (e.g. lib/Grid/Column) and is configurable
per library.
Vite plugin that intercepts subpath imports of legacy CJS libraries and wraps them in ESM-compatible virtual modules, preventing CommonJS interop errors at runtime with Rolldown.
Supports nested subpaths (e.g.
lib/Grid/Column) and is configurable per library.