importmap-vite-plugin
JSON →A Vite plugin (v0.1.0) that generates an import map JSON virtual module, enabling sharing of dependencies without duplication. It allows mapping local modules (e.g., React) to custom re-export files to support named imports from CJS packages, and external URLs (e.g., from esm.sh) to avoid bundling. Unlike Module Federation or @originjs/vite-plugin-federation, this plugin focuses solely on import maps with fine-grained control over local and remote mappings. Actively maintained on GitHub, with TypeScript definitions provided. Peer dependency on Vite (*).
Traffic · last 30 days stale · no recent hits
total hits 15
actors 4 distinct systems
last hit 25d ago AhrefsBot
top countries 🇺🇸 United States · AE · 🇨🇦 Canada · VN · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/importmap-vite-plugin
compatibility /v1/registry/importmap-vite-plugin/compatibility