nuxtlabs / nuxt-component-meta

Gather Nuxt components metadata on build time and make them available on production.
69 stars 6 forks source link

feat(module): `metaFields` option to exclude fields from output #55

Closed farnabaz closed 1 year ago

farnabaz commented 1 year ago

There are some situations that user wants to exclude some fields from generated JSON, like exposed and events fields which has very little use cases.

Potentially, these extra fields improved the chance of generating a pretty big object which broke the generation. Like https://github.com/nuxtlabs/ui/pull/191

farnabaz commented 1 year ago

Merging to solve Nuxt UI issue

We can improve it in next release if you see any