Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nemwiz/build-statistics-plugin
Webpack and Rollup plugin that collects statistics about your builds
https://github.com/nemwiz/build-statistics-plugin
Last synced: about 1 month ago
JSON representation
Webpack and Rollup plugin that collects statistics about your builds
- Host: GitHub
- URL: https://github.com/nemwiz/build-statistics-plugin
- Owner: nemwiz
- License: mit
- Created: 2021-03-07T23:12:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-18T00:13:10.000Z (over 3 years ago)
- Last Synced: 2024-05-14T07:21:16.506Z (7 months ago)
- Language: TypeScript
- Homepage:
- Size: 237 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - build-statistics - Plugin that keeps a continuous log of your build time. (Plugins / All-Purpose Awesome)
README
## Build statistics plugin
Plugin that keeps a continuous log of your build time.
Read more about the [inspiration](https://www.ninkovic.dev/blog/2021/how-to-acquire-more-time-for-technical-tasks) for this plugin.
### Use cases
- Can be used as an evidence to show the business (PO's etc.) how slow build times impact the team and hinder
productivity
- By monitoring build time you can see if the optimizations in your Webpack/Rollup config have really improved productivity
- This plugin can help you to point out the differences between different machines e.g. if one of the developers has really slower builds than other it can be a sign of misconfiguration, poor hardware etc.## Installation
This plugin supports both Webpack and Rollup.
For Webpack run:
`npm install --save-dev webpack-plugin-build-statistics`
More info on setup in [Webpack plugin documentation](https://www.npmjs.com/package/webpack-plugin-build-statistics)
For Rollup run:
`npm install --save-dev rollup-plugin-build-statistics`
More info on setup in [Rollup plugin documentation](https://www.npmjs.com/package/rollup-plugin-build-statistics)
### Did you find this plugin useful?
Show your support. Buy me a coffee. 😎
#### Running in dev mode
`yarn install && yarn build`
To run unit and integration tests
`yarn test && yarn test:integration`