Package
@web/rollup-plugin-import-meta-assets
Rollup plugin that detects assets references relative to modules using patterns such as `new URL('./path/to/asset.ext', import.meta.url)`. The assets are added to the rollup pipeline, allowing them to be transformed and hash the filenames.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 11k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 6
- Direct, from package.json
- Last release
- 2 months ago
- v3.0.0
- GitHub stars
- 2.5k
- 344 forks
- Open issues / PRs
- 360 / 86
- Contributors
- -
- Commits, last 52 weeks
- 253
No weekly download data in the snapshot.
11,028 downloads last week, 47,114 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 3.0.0, 7 Jul 20262 months ago
- First published
- -
- Last push to GitHub
- 19 Sept 20265 days before the snapshot
- Repository archived
- No
- Open issues
- 360
- Open pull requests
- 86
- Commits, last 52 weeks
- 253
- Dependents on npm
- 9
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22.0.0
- Runtimes
- -
- Unpacked size (npm)
- 19 kB
- Dependencies (6)
globbymagic-stringestree-walker@rollup/pluginutils@jridgewell/remapping@rollup/plugin-dynamic-import-vars
npm install @web/rollup-plugin-import-meta-assets- jsDelivr
https://cdn.jsdelivr.net/npm/@web/rollup-plugin-import-meta-assets@3.0.0/ - unpkg
https://unpkg.com/@web/rollup-plugin-import-meta-assets@3.0.0/ - esm.sh
https://esm.sh/@web/rollup-plugin-import-meta-assets@3.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| miragejs | 264.2k | - | 2 years ago | ESM + CommonJS | - |
| xhr-mock | 161.6k | - | 6 years ago | CommonJS | - |
| fictional | 102.1k | - | 1 year ago | ESM + CommonJS | - |
| msw-when-then | 8.8k | - | 5 years ago | CommonJS | - |
| vite-plugin-mock-dev-server | 9.6k | - | 2 months ago | ESM only | - |
| responselike | 24.6m | - | 11 months ago | ESM only | - |
| msw | 14.4m | - | 2 months ago | ESM + CommonJS | - |
| json-server | 356.8k | - | 6 months ago | ESM only | - |
Indexability: Indexed.