parcel-plugin-bundle-visualiser icon indicating copy to clipboard operation
parcel-plugin-bundle-visualiser copied to clipboard

Allow excluding build assets by specifying globs in a config file

Open dkadrios opened this issue 5 years ago • 1 comments

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.

dkadrios avatar Jun 19 '19 22:06 dkadrios

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.

ebrensi avatar Mar 31 '20 05:03 ebrensi