open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
234 stars 43 forks source link

feat: Allow excluding default plugins #262

Open maxpatiiuk opened 3 months ago

maxpatiiuk commented 3 months ago

Custom Element Manifest Analyzer comes with over 20 plugins built-in. Quite a few of them relate to extracting information about variables, arrow functions, function declarations and even mixins.

In our codebase, we have many components, so keeping build fast is nice. We don't want to expose any variables/functions/mixins in the documentation, so generating manifest for those is a waste. We also don't need the default blocklist plugins as we have a custom plugin for deciding what gets included

Would it be possible for CEM to add a way to exclude default plugins (in the javascript API)?

Possible implementations: