rollup-plugin-import-cdn
JSON →Rollup plugin that resolves bare module specifiers to CDN URLs (Skypack, esm.sh) during bundling, enabling tree-shaking of external ESM resources. Version 0.3.0 supports Rollup ^3.x || ^4.x and ships TypeScript types. Key differentiators: full tree-shaking support for CDN imports, multiple CDN fallback chains, and version pinning for reproducible builds.
Resources
packagerollup-plugin-import-cdn ↗