rollup-plugin-base-url
JSON →A Rollup plugin that rewrites dynamic (and optionally static) import paths to use an absolute base URL, such as '/' or '/forum'. This prevents chunk loading failures on sub-routes (e.g., /login loads chunks from the wrong path). Version 0.0.2 is the current release. It avoids AST parsing for performance, doing a naive string replacement of chunk paths. No known release cadence. Differentiators: lightweight, simple, no AST overhead, compatible with plugins like rollup-plugin-hoist-import-deps. Alternatives (e.g., @rollup/plugin-url) target assets, not imports.
Traffic · last 30 days ↓50% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 7d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · MA
Resources
API endpoints
full doc /v1/registry/rollup-plugin-base-url