webpack-plugin-badge-maker
v0.0.4
Published
webpack plugin for generating readme badges
Downloads
4
Maintainers
Readme
webpack-plugin-badge-maker
Plugin for creating badges using badge-maker. Currently scoped to measuring bundle size.
const { BundleSizeBadgePlugin } = require('webpack-plugin-badge-maker');
new BundleSizeBadgePlugin({
assets: ['vendors', 'main'], // generates vendors.svg and main.svg
options: {
label: 'size', // default
color: 'green', // default
svgDir: './dist/' // default
}
});