Skip to content
PluginStats

vite-plugin-externalize-dependencies weekly downloads statistics

By MilanKovacic · npm · Vite plugins

A simplified plugin for Vite that allows you to exclude specific dependencies from the Vite bundle during development.

View on npm Fresh · Oct 17, 2026

vite-plugin-externalize-dependencies has 3,626 recorded weekly downloads on npm, a decrease of 62.5% over the past 30 days.

It ranks #1157 of 2,255 tracked npm listings by weekly downloads.

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

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

Weekly downloads
3,626
Official API · Oct 17, 2026
7-day growth
-51.2%
-3.8K weekly downloads
30-day growth
-62.5%
-6K weekly downloads
90-day growth
-63.0%
-6.2K weekly downloads
Rank
#1157
Among tracked npm listings

About vite-plugin-externalize-dependencies

Vite Plugin Externalize Dependencies

A simplified plugin for Vite that allows you to exclude specific dependencies from the Vite bundle during development.

The following errors/warnings are supressed:

• The entry point [moduleName] cannot be marked as external • Do not know how to load path: [namespace:moduleName] • Failed to resolve import [dependency] from [sourceFile]. Does the file exist? • The following dependencies are imported but could not be resolved: [dependency] (imported by [sourceFile])

Table of Contents

• Installation • Usage • Requirements • Contributing and Development • Known Issues & limitations • Support • License

Installation

To install the plugin, use npm:

npm i vite-plugin-externalize-dependencies --save-dev

Usage

After installing the plugin, import it, and add it to Vite configuration:

Modules can be externalized by name (exact match), by regex, or by a custom function (returning _true_ to externalize the module). The plugin will automatically externalize all subexports of a module, such as react/jsx-runtime.

Requirements

The plugin is intended to be consumed by Vite.

Contributing and Development

Contributions are welcome! If you wish to contribute, you can use the following npm commands to help facilitate your development process:

• dev: Serve index.html for development testing. • build: Build the plugin. • test: Run tests to verify expected outputs.

Use them as follows:

Please feel free to open a pull request with your changes or improvements.

Known Issues & limitations

This plugin is designed to work during development. For production, users should manually configure build.rollupOptions.external in Vite.

Support

If you encounter any problems or have any issues, please open a new issue in the GitHub repository.

License

This project is licensed under the MIT License.

Description from the npm listing.

  • vite
  • vite-plugin
  • externalize-dependencies
  • bundle-exclusion
  • import-maps
  • webpack-externals
  • rollup-externals
  • dependency-management

Where vite-plugin-externalize-dependencies 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 58, #17 (overall #1157)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 11, #16 (overall #216)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

vite-plugin-externalize-dependencies weekly downloads on npm, last 90 days: 3,626 weekly downloads as of Oct 17, 2026, -63.0% over 90 days.vite-plugin-externalize-dependenciesWeekly downloads on npm · Last 90 days3,626downloads / week-63.0% over 90 days02K4K6K8K10K12K14K16K18KJul 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-externalize-dependencies weekly downloads on npm, last 90 days: 3,626 weekly downloads as of Oct 17, 2026, -63.0% over 90 days.
PNG SVG

7/30/90-day growth

vite-plugin-externalize-dependencies weekly downloads growth on npm: -51.2% over 7 days, -62.5% over 30 days, -63.0% over 90 days.vite-plugin-externalize-dependenciesWeekly downloads growth on npm3,626downloads / week now7-day growth-3,808 weekly downloads-51.2%30-day growth-6,031 weekly downloads-62.5%90-day growth-6,170 weekly downloads-63.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-externalize-dependencies weekly downloads growth on npm: -51.2% over 7 days, -62.5% over 30 days, -63.0% over 90 days.
PNG SVG

Ranking history

vite-plugin-externalize-dependencies npm ranking history: currently #1157 (by weekly downloads).vite-plugin-externalize-dependenciesnpm ranking · by weekly downloads · Last 90 days#1157current rank#1155#1156#1157#1158#1159Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-externalize-dependencies npm ranking history: currently #1157 (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-externalize-dependencies
Date (UTC)Weekly downloadsChange vs. previous
3,626-272
3,898+24
3,874-2.1K
5,931-1.4K
7,3350
7,335-150
7,485+51
7,434-159
7,593-623
8,216-226
8,442-692
9,134-2.9K
11,990-889
12,879—

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-externalize-dependencies. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.