parcel-plugin-bundle-visualiser
parcel-plugin-bundle-visualiser copied to clipboard
Allow excluding build assets by specifying globs in a config file
Background: We have a project that imports a lot of JPGs and fonts. These bundles were cluttering up the report and making it next to useless for analyzing our bundled JavaScript.
By specifying which assets to exclude from the report, it makes it easier to concentrate on what's important to your team.
Example:
Contents of .bundlevisualizer.rc
{
"exclude": [
"**/*.gif",
"**/*.jpg",
"**/*.{eot,ttf,woff,woff2}"
]
}
The config file could be expanded in the future with additional switches and settings. For instance, it might be helpful to filter child bundles too.
I would very much like to see this feature. Is there anything I can do to make it happen? I could just use this fork but I would like to stay current with other updates too.