{"library":"vite-legacy-interop","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.4","tags":["javascript","vite","plugin","legacy","interop","typescript"],"install":[{"cmd":"npm install vite-legacy-interop","imports":["import { legacyInterop } from 'vite-legacy-interop'","import type { LegacyInteropOptions } from 'vite-legacy-interop'","import type { LibConfig } from 'vite-legacy-interop'"]},{"cmd":"yarn add vite-legacy-interop","imports":[]},{"cmd":"pnpm add vite-legacy-interop","imports":[]}],"homepage":"https://eljijuna.github.io/vite-legacy-interop","github":"https://github.com/ElJijuna/vite-legacy-interop","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-legacy-interop","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-legacy-interop/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}