Skip to content
PluginStats

vite-plugin-sentry weekly downloads statistics

By ikenfin · npm · Vite plugins

The unofficial Sentry plugin for Vite ⚡️

View on npm Fresh · Oct 17, 2026

vite-plugin-sentry has 4,942 recorded weekly downloads on npm, a decrease of 70.9% over the past 30 days.

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

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

PluginStats has 542 daily observations since Apr 24, 2025; the latest is from Oct 17, 2026.

Weekly downloads
4,942
Official API · Oct 17, 2026
7-day growth
-55.2%
-6.1K weekly downloads
30-day growth
-70.9%
-12K weekly downloads
90-day growth
-81.7%
-22.1K weekly downloads
Rank
#1098
Among tracked npm listings

About vite-plugin-sentry

Plugin for Vite ⚡️ to create releases and upload sourcemaps to Sentry

This plugin hooks into the Vite build step, to create a new release and upload source maps. It does not instrument error reporting in your app.

It's a port of official Sentry webpack plugin for Vite.

It's fully written on Typescript and there is some differences in configuration, described below, but we mostly follow @sentry/cli types.

Install

Configuration

If you using Typescript - you can use ViteSentryPluginOptions type for better configuration experience with autocomplete.

Example config:

Possible breaking change!

From version 1.2.0 we have changed default error handling. Now if Sentry report error while uploading sourcemaps - we crash whole build process instead of just print warning. This was done to prevent calling next to && operator on uploading error.

You can enable legacy mode using legacyErrorHandlingMode: true in plugin config.

Wiki

Check project wiki on github to get more information.

Share config with Sentry client library

To correctly work with Sentry, you need to add a release to your project. Same about dist option: your uploaded sourcemaps and client sentry initialization must have same release/dist to make sentry correct recognize and bind sourcemaps to logged errors.

You can expose release and dist options used by vite-plugin-sentry into your application using Vite feature known as virtual module.

To do so, you need to add several lines:

TypeScript

To get type information for the virtual module or import meta env, you can add vite-plugin-sentry/client to your types array in tsconfig.json.

Also you can use reference in your typescript code like below:

Common how to:

Delete generated source maps after upload (#1)

UPD: From version 1.2.1 you can use new configuration option cleanSourcemapsAfterUpload to clean sourcemap files.

While i recommend to use CI, you can also use tools like rimraf in your npm scripts to drop any unnecessary files after build was complete:

Cannot install on Windows

This plugin relies on @sentry/cli tool, which requires VCRedist to be installed. Please check #8 for details.

List of available options

Here are the list of all plugin options:

Legend:

❌ - NOT required

⚠️ - NOT required in plugin config, but MUST be set (for example, using .sentryclirc file)

✅ - Required

| Option | Type | Required | Default value | Description |

| legacyErrorHandlingMode | boolean | ❌ | false | When true - all sentry uploading errors will be printed as warnings, build process will not be failed, vite will return exit code 0 | | cleanSourcemapsAfterUpload | boolean | ❌ | false | Delete generated sourcemap files after complete | | debug | boolean | ❌ | false | Show debug messages during run | | skipEnvironmentCheck | boolean | ❌ | false | By default plugin will be enabled only for production builds. Set this option to true to skip environment checks | | dryRun | boolean | ❌ | false | Run sentry in dry mode - will only prints all steps | | url | string | ❌ | 'https://sentry.io/' | The base URL of your Sentry instance. | | authToken | string | ⚠️ | '' | The authentication token to use for all communication with Sentry. Can be obtained from https://sentry.io/settings/account/api/auth-tokens/. Required scopes:project:releases (and org:read if setCommits option is used). | | org | string | ⚠️ | '' | The slug of the Sentry organization associated with the app. | | project | string | ⚠️ | '' | The slug of the Sentry project associated with the app. | | vcsRemote | string | ❌ | 'origin' | The name of the remote in the version control system. | | configFile | string | ❌ | '' | Path to sentry cli config file, as described in https://docs.sentry.io/product/cli/configuration/#configuration-file. By default, the config file is looked for upwards from the current path, and defaults from ~/.sentryclirc are always loaded | | release | string | ❌ | | Unique name for release. Defaults to sentry-cli releases propose version (requires access to GIT and root directory to be repo) | | finalize | boolean | ❌ | false | Determines whether processed release should be automatically finalized after artifacts upload | | silent | boolean | ❌ | false | If true, all sentry-cli logs are suppressed | | deploy | SentryCliNewDeployOptions | ❌ | | Sentry release deployment settings, see details below | | sourceMaps | SentryCliUploadSourceMapsOptions | ✅ | | Sourcemaps settings, see details below | | setCommits | SentryCliCommitsOptions | ❌ | | Adds commits to sentry, see details below |

deploy settings

With deploy you can configure sentry cli to send deployment info. Here is a table of settings:

| Option | Type | Required | Description |

| env | string | ✅ | Environment value for release. For example production | | started | number | ❌ | UNIX timestamp for deployment start | | finished | number | ❌ | UNIX timestamp for deployment finish | | time | number | ❌ | Deployment duration in seconds. Can be used instead of started and finished. | | name | string | ❌ | Human-readable name for this deployment | | url | string | ❌ | URL that points to the deployment |

sourceMaps settings

With sourceMaps you can configure how sourcemaps will be processed

| Option | Type | Required | Description |…

Description from the npm listing.

  • vite-plugin
  • sentry
  • sentry-cli
  • sourcemap

Where vite-plugin-sentry 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 55, #18 (overall #1098)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 11, #2 (overall #202)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

vite-plugin-sentry weekly downloads on npm, last 90 days: 4,942 weekly downloads as of Oct 17, 2026, -81.7% over 90 days.vite-plugin-sentryWeekly downloads on npm · Last 90 days4,942downloads / week-81.7% over 90 days010K20K30K40KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
vite-plugin-sentry weekly downloads on npm, last 90 days: 4,942 weekly downloads as of Oct 17, 2026, -81.7% over 90 days.
PNG SVG

7/30/90-day growth

vite-plugin-sentry weekly downloads growth on npm: -55.2% over 7 days, -70.9% over 30 days, -81.7% over 90 days.vite-plugin-sentryWeekly downloads growth on npm4,942downloads / week now7-day growth-6,099 weekly downloads-55.2%30-day growth-12,036 weekly downloads-70.9%90-day growth-22,122 weekly downloads-81.7%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-sentry weekly downloads growth on npm: -55.2% over 7 days, -70.9% over 30 days, -81.7% over 90 days.
PNG SVG

Ranking history

vite-plugin-sentry npm ranking history: currently #1098 (by weekly downloads).vite-plugin-sentrynpm ranking · by weekly downloads · Last 90 days#1098current rank#400#500#600#700#800#900#1000#1100Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-sentry npm ranking history: currently #1098 (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 (542)
Recent weekly downloads observations for vite-plugin-sentry
Date (UTC)Weekly downloadsChange vs. previous
4,942-531
5,473-103
5,576-2.5K
8,053-2.8K
10,8300
10,830-51
10,881-160
11,041-1
11,042+456
10,586-772
11,358-1.4K
12,715-3.7K
16,442-891
17,333—

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