{"library":"rollup-plugin-base-url","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.0.2","tags":["javascript","rollup-plugin","base-url","prerender"],"install":[{"cmd":"npm install rollup-plugin-base-url","imports":["import { baseUrl } from 'rollup-plugin-base-url'","import { baseUrl } from 'rollup-plugin-base-url'","baseUrl({ url: '/forum', staticImports: true })"]},{"cmd":"yarn add rollup-plugin-base-url","imports":[]},{"cmd":"pnpm add rollup-plugin-base-url","imports":[]}],"homepage":null,"github":"https://github.com/kim366/rollup-plugin-base-url","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rollup-plugin-base-url","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/rollup-plugin-base-url/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}