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

rollup-plugin-webpack-stats

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-webpack-stats - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

14

package.json
{
"name": "rollup-plugin-webpack-stats",
"version": "0.2.3",
"version": "0.2.4",
"private": false,

@@ -48,9 +48,9 @@ "license": "MIT",

"@release-it/conventional-changelog": "8.0.1",
"@rollup/plugin-typescript": "11.1.5",
"@rollup/plugin-typescript": "11.1.6",
"@tsconfig/node14": "14.1.0",
"@types/node": "20.10.5",
"dotenv": "16.3.1",
"husky": "8.0.3",
"release-it": "17.0.1",
"rollup": "4.9.1",
"@types/node": "20.11.10",
"dotenv": "16.4.1",
"husky": "9.0.7",
"release-it": "17.0.3",
"rollup": "4.9.6",
"tslib": "2.6.2",

@@ -57,0 +57,0 @@ "typescript": "5.3.3",

@@ -39,5 +39,28 @@ # rollup-plugin-webpack-stats

## Example setup with [@relative-ci/agent](https://github.com/relative-ci/agent)
```js
// vite.config.js
import { defineConfig } from 'vite';
import { webpackStats } from 'rollup-plugin-webpack-stats';
export default defineConfig((env) => ({
plugins: [
// Output webpack-stats.json file
webpackStats(),
],
}));
```
### Options
- `fileName` - JSON stats file inside rollup/vite output directory
## Resources
- [Vite - Using plugins](https://vitejs.dev/guide/using-plugins)
- [Rollup - Using plugins](https://rollupjs.org/tutorial/#using-plugins)
- [RelativeCI - Vite configuration for better bundle monitoring](https://relative-ci.com/documentation/guides/vite-config)
## [@relative-ci/agent](https://github.com/relative-ci/agent) examples
- [example-vite-github-action](https://github.com/relative-ci/example-vite-github-action)
- [example-vite-cli-github-action](https://github.com/relative-ci/example-vite-cli-github-action)
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