Skip to content
PluginStats

vite-plugin-externals weekly downloads statistics

By crcong · npm · Vite plugins

externals plugin for vite

View on npm Fresh · Oct 17, 2026

vite-plugin-externals has 27,899 recorded weekly downloads on npm, a decrease of 69.4% over the past 30 days.

It ranks #680 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -72.3%.

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

Weekly downloads
27,899
Official API · Oct 17, 2026
7-day growth
-52.9%
-31.3K weekly downloads
30-day growth
-69.4%
-63.3K weekly downloads
90-day growth
-72.3%
-72.9K weekly downloads
Rank
#680
Among tracked npm listings

About vite-plugin-externals

vite-plugin-externals

English | 简体中文

use to external resources, like webpack externals, but only use in browser now.

Can be used in production mode without other rollup configuration.

but it will not take effect by default in commonjs, such as ssr.

Usage

Add it to vite.config.js

Warning: If you loaded production library in vite dev mode , may make HMR fail.

You can use disableInServe: true option to avoid transform in serve mode.

Eg.

How to work

transform source code of js file.

Warning: please use the plugin after converting to JS code, because the plugin only transform JS code. Eg.

If an error occurs, you can check whether the error is caused by the plugin order.

Configuration

disableInServe

disable transform in serve mode .

enforce

vite plugin ordering. Resolve plugin ordering cause unexpected error. Such as #21.

See https://vitejs.dev/guide/api-plugin.html#plugin-ordering.

filter

The files in node_modules are filtered by default, and only transform js/ts/vue/jsx/tsx file.

You can specify the filter function. Return true will be transform to external.

useWindow

set false, the window prefix will not be added.

Warning: If your module name has special characters, such as /, set useWindow option false, will throw error.

sourceMapOptions

The configuration item of the code sourcemap after code conversion. The library is magic-string.

Description from the npm listing.

  • vite-plugin
  • external
  • externals

Where vite-plugin-externals 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,248 listings · 113 pages · page 34, #20 (overall #680)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 6, #10 (overall #110)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

vite-plugin-externals weekly downloads on npm, last 90 days: 27,899 weekly downloads as of Oct 17, 2026, -72.3% over 90 days.vite-plugin-externalsWeekly downloads on npm · Last 90 days27,899downloads / week-72.3% over 90 days020K40K60K80K100K120K140KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
vite-plugin-externals weekly downloads on npm, last 90 days: 27,899 weekly downloads as of Oct 17, 2026, -72.3% over 90 days.
PNG SVG

7/30/90-day growth

vite-plugin-externals weekly downloads growth on npm: -52.9% over 7 days, -69.4% over 30 days, -72.3% over 90 days.vite-plugin-externalsWeekly downloads growth on npm27,899downloads / week now7-day growth-31,282 weekly downloads-52.9%30-day growth-63,311 weekly downloads-69.4%90-day growth-72,882 weekly downloads-72.3%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-externals weekly downloads growth on npm: -52.9% over 7 days, -69.4% over 30 days, -72.3% over 90 days.
PNG SVG

Ranking history

vite-plugin-externals npm ranking history: currently #680 (by weekly downloads).vite-plugin-externalsnpm ranking · by weekly downloads · Last 90 days#680current rank#678#679#680#681#682Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-externals npm ranking history: currently #680 (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 vite-plugin-externals
Date (UTC)Weekly downloadsChange vs. previous
27,899-4.7K
32,576-1.6K
34,177-13.6K
47,810-13.1K
60,8800
60,880+139
60,741+1.6K
59,181+1.3K
57,859+3.2K
54,697+1.1K
53,597-702
54,299-14.9K
69,153-3K
72,108—

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/vite-plugin-externals. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.