Skip to content
JS
Package

rollup-plugin-smart-asset

Rollup plugin to rebase, inline or copy assets referenced from the code

v2.1.2, 8 May 2021MITESM + CommonJSTypes: NoneBundler plugins and loaders
$ npm install rollup-plugin-smart-asset

Key numbers

As of 25 Sept 2026
Weekly downloads
15k
-23% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
5 years ago
v2.1.2
GitHub stars
35
14 forks
Open issues / PRs
3 / 10
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 27.8k (3 Mar 2026)Low 7.8k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

15,003 downloads last week, 68,047 in the last month. The 12-month change of -23% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.1.2, 8 May 20215 years ago
First published
-
Last push to GitHub
28 Feb 2024939 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
10
Commits, last 52 weeks
0
Dependents on npm
28

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
41 kB
Dependencies (5)
mimebig.jsmkdirpmagic-stringrollup-pluginutils
Peer dependencies (1)
rollup
npm install rollup-plugin-smart-asset
  • jsDelivrhttps://cdn.jsdelivr.net/npm/rollup-plugin-smart-asset@2.1.2/
  • unpkghttps://unpkg.com/rollup-plugin-smart-asset@2.1.2/
  • esm.shhttps://esm.sh/rollup-plugin-smart-asset@2.1.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.