Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-rollbar

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-rollbar - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

package.json
{
"name": "vite-plugin-rollbar",
"version": "0.0.8",
"version": "0.0.9",
"description": "A Vite plugin to upload sourcemaps to Rollbar after build.",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

@@ -1,2 +0,43 @@

# vite-plugin-rollbar
A Vite plugin to upload sourcemaps to Rollbar
# Plugin to integrate Vite ⚡️ with Rollbar
![Version](https://img.shields.io/npm/v/vite-plugin-rollbar) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#) [![GitHub issues](https://img.shields.io/github/issues/clinggroup/vite-plugin-rollbar)](https://github.com/clinggroup/vite-plugin-rollbar/issues)
This is a Vite plugin that simplifies uploading the sourcemaps, generated from a Vite build, to Rollbar.
## Installation
Install the plugin with npm:
```shell
npm install vite-plugin-rollbar --save-dev
```
## Basic Usage
An example vite.config.js:
```typescript
// vite.config.ts
// other declarations
import viteRollbar from 'vite-plugin-rollbar'
/*
Configure Rollbar plugin
*/
const rollbarConfig = {
accessToken: '<SECRET_TOKEN_HERE>',
version: '1.0',
baseUrl: 'yourwebsite.com',
silent: true,
}
export default defineConfig({
// other options
plugins: [ viteRollbar(rollbarConfig) ],
build: {
// Required: tells Vite to create source maps
sourcemap: true,
}
})
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc