vite-plugin-externalize-deps weekly downloads statistics
By voracious · npm · Vite plugins
A configurable Vite plugin to help externalize your dependencies (includes subpaths)
vite-plugin-externalize-deps has 89,380 recorded weekly downloads on npm, a decrease of 54.1% over the past 30 days, ranking #485 of 2,322 tracked listings.
About vite-plugin-externalize-deps
vite-plugin-externalize-deps
A configurable Vite plugin to help externalize your dependencies (including subpaths).
Getting Started
Install the package as a dev dependency.
# npm
npm install --save-dev vite-plugin-externalize-deps
# pnpm
pnpm install --save-dev vite-plugin-externalize-deps
# yarn
yarn add --dev vite-plugin-externalize-deps
Add the plugin to your vite.config.ts file.
import { defineConfig } from 'vite'
import { externalizeDeps } from 'vite-plugin-externalize-deps'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
externalizeDeps(),
],
})
Configuration
Pass an object to externalizeDeps to override the default configuration.
// These are the default values.
externalizeDeps({
deps: true,
devDeps: false,
except: [],
nodeBuiltins: true,
optionalDeps: true,
peerDeps: true,
useFile: join(process.cwd(), 'package.json'),
})
To include specific dependencies in your bundle, you can add exceptions with the except option.
externalizeDeps({
except: [
// Match exact values with strings.
'@some/obscure/dependency',
// Or match patterns with regular expressions.
/^@some\/obscure(?:\/.+)?$/,
],
})
Description from the npm listing.
- dependencies
- dev
- utils
- vite
- vite-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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.
Each band is one page of 20. Weekly downloads on a linear 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.
Recent observations
Full history (122)Similar npm Vite plugins plugins
All 20 vite-plugin-externalize-deps alternativesData 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-deps. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.