vite-plugin-bugsnag weekly downloads statistics
By ElMassimo (8 listings) · npm · Vite plugins
Report builds and upload source maps to Bugsnag
vite-plugin-bugsnag has 23,342 recorded weekly downloads on npm, a decrease of 55.1% over the past 30 days, ranking #993 of 3,247 tracked listings.
About vite-plugin-bugsnag
Why? 🤔
There is no official plugin from Bugsnag for Vite.js.
This plugin provides the same functionality as <kbd>webpack-bugsnag-plugins</kbd> in Vite.js.
The API is similar to simplify the migration when moving away from Webpack.
Features ⚡️
- 🔒 Written in TypeScript
- 🚀 Quick setup with Vite plugins
- 📖 Config options are fully documented in JSDoc
Installation 💿
Install the package as a development dependency:
npm i -D vite-plugin-bugsnag # yarn add -D vite-plugin-bugsnag
Usage 🚀
Two plugins are provided, one to report build information, and another one to upload sourcemaps.
Both plugins accept apiKey, appVersion, and endpoint, so you can share a config object.
For example:
import { defineConfig } from 'vite'
import { BugsnagBuildReporterPlugin, BugsnagSourceMapUploaderPlugin } from 'vite-plugin-bugsnag'
const isDistEnv = process.env.RAILS_ENV === 'production'
const bugsnagOptions = {
apiKey: process.env.BUGSNAG_API_KEY,
appVersion: process.env.APP_VERSION,
}
export default defineConfig({
plugins: [
isDistEnv && BugsnagBuildReporterPlugin({ ...bugsnagOptions, releaseStage: process.env.RAILS_ENV }),
isDistEnv && BugsnagSourceMapUploaderPlugin({ ...bugsnagOptions, overwrite: true }),
],
})
BugsnagBuildReporterPlugin (options)
Use this plugin to report your application's build to Bugsnag.
import { defineConfig } from 'vite'
import { BugsnagBuildReporterPlugin } from 'vite-plugin-bugsnag'
export default defineConfig({
plugins: [
BugsnagBuildReporterPlugin({
apiKey: 'YOUR_API_KEY',
appVersion: '1.2.3',
}),
],
})
- It can auto detect source control from
.git,.hgandpackage.json - Hooks into
writeBundleto upload the information once the build is finished - If the build fails, the build report will not be sent
BugsnagSourceMapUploaderPlugin (options)
Use this plugin to upload your application's sourcemaps to Bugsnag.
import { defineConfig } from 'vite'
import { BugsnagSourceMapUploaderPlugin } from 'vite-plugin-bugsnag'
export default defineConfig({
build: {
sourcemap: true,
},
plugins: [
BugsnagSourceMapUploaderPlugin({
apiKey: 'YOUR_API_KEY',
appVersion: '1.2.3',
base: 'https://your-app.xyz/assets/',
}),
],
})
- The plugin will enable
build.sourcemapin order for Vite to generate sourcemaps - It will upload any generated sourcemaps to Bugsnag
License
This library is available as open source under the terms of the MIT License.
Description from the npm listing.
- bugsnag
- vite
- vite-plugin
- vitejs
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 (170)Similar npm Vite plugins plugins
All 20 vite-plugin-bugsnag 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-bugsnag. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.