A GitHub App built with Probot that comments the gzipped sizes of your webpack assets and the changes since the last build into the relevant PR
First add an instance of the size-plugin to your webpack configuration:
// webpack.config.js
+ const SizePlugin = require('size-plugin');
module.exports = {
plugins: [
+ new SizePlugin()
]
}
Second Simply install the app and make some changes, open a pr and watch the magic happen ๐
Currently works with Travis CI, CircleCI, Wercker, and Drone.
Using a different CI? Under the hood, size-plugin uses ci-env to extract meta information which works perfectly with Custom CI ๐
If you have suggestions for how size-plugin could be improved, or want to report a bug, open an issue! We'd love all and any contributions.
For more, check out the Contributing Guide.
ISC ยฉ 2019 kuldeepkeshwar [email protected]