Skip to content
PluginStats

rollup-plugin-import-trace weekly downloads statistics

By privatenumber (2 listings) · npm · Vite plugins

Rollup/Vite plugin to track import chains for better error debugging

View on npm Fresh · Oct 17, 2026

rollup-plugin-import-trace has 37,718 recorded weekly downloads on npm, an increase of 54.4% over the past 30 days.

It ranks #616 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +79.6%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
37,718
Official API · Oct 17, 2026
7-day growth
-28.6%
-15.1K weekly downloads
30-day growth
+54.4%
+13.3K weekly downloads
90-day growth
+79.6%
+16.7K weekly downloads
Rank
#616
Among tracked npm listings

About rollup-plugin-import-trace

rollup-plugin-import-trace

Rollup/Vite plugin that adds import traces to build errors.

When a build error is thrown, the plugin adds an importTrace property showing the chain of imports that led to the problematic file:

[!NOTE] Rollup errors have a watchFiles property that may look similar, but it's just files for watch mode to monitor. It includes all files imported from the entry point, not just the chain that led to the error.

Install

Usage

[!IMPORTANT] List importTrace() first in the plugins array. Its resolveId hook needs to run before other plugins to record import relationships for error recovery.

Works with Rollup and Vite (both dev and build modes).

Formatting Utility

In Vite dev mode, the error message is automatically formatted for the browser overlay:

For other cases (e.g. CLI tools), use patchErrorWithTrace(error) to format and append the trace to the error message:

Output:

[!TIP] patchErrorWithTrace accepts unknown—safely does nothing if the error doesn't have an importTrace array.

Description from the npm listing.

  • rollup
  • rollup-plugin
  • vite
  • vite-plugin
  • import
  • trace
  • debug
  • error

Where rollup-plugin-import-trace sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,256 listings · 113 pages · page 31, #16 (overall #616)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 5, #16 (overall #96)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

rollup-plugin-import-trace weekly downloads on npm, last 90 days: 37,718 weekly downloads as of Oct 17, 2026, +79.6% over 90 days.rollup-plugin-import-traceWeekly downloads on npm · Last 90 days37,718downloads / week+79.6% over 90 days020K40K60K80KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
rollup-plugin-import-trace weekly downloads on npm, last 90 days: 37,718 weekly downloads as of Oct 17, 2026, +79.6% over 90 days.
PNG SVG

7/30/90-day growth

rollup-plugin-import-trace weekly downloads growth on npm: -28.6% over 7 days, +54.4% over 30 days, +79.6% over 90 days.rollup-plugin-import-traceWeekly downloads growth on npm37,718downloads / week now7-day growth-15,083 weekly downloads-28.6%30-day growth+13,286 weekly downloads+54.4%90-day growth+16,712 weekly downloads+79.6%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
rollup-plugin-import-trace weekly downloads growth on npm: -28.6% over 7 days, +54.4% over 30 days, +79.6% over 90 days.
PNG SVG

Ranking history

rollup-plugin-import-trace npm ranking history: currently #616 (by weekly downloads).rollup-plugin-import-tracenpm ranking · by weekly downloads · Last 90 days#616current rank#614#615#616#617#618Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
rollup-plugin-import-trace npm ranking history: currently #616 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for rollup-plugin-import-trace
Date (UTC)Weekly downloadsChange vs. previous
37,718-2.7K
40,393-220
40,613-10.8K
51,388-10.6K
61,9780
61,978+5.8K
56,195+3.4K
52,801-3.4K
56,154+2.3K
53,837-5.8K
59,596-4.2K
63,771-14.1K
77,865-104
77,969—

Similar npm Vite plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/rollup-plugin-import-trace. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.