rollup-plugin-webpack-stats
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13053
66