You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to understand entry points and exclusions. I assume "entry point" means an index.tsx file that is the root of our application, but we have dynamically loaded routes in a react app so a majority of the app is "linked" but even so, using that individual file produces docs output of nothing but our readme.
I tried uses a glob for entry points instead "entryPoints": ["app/**/*.ts?(x)"], which works, except I cannot get excludes to work despite trying a dozen different things.
I tried negating stuff in the glob in various ways, I tried adding stuff to the exclude array, yet nothing is ever excluded from the output.
The .spec.tsx and .stories.tsx files are still in the docs output. I've tried various glob patterns, listing them as separate array entries, etc. No changes.
Am I misunderstanding how this works?
The text was updated successfully, but these errors were encountered:
Search terms
negate exclude
Question
I am trying to understand entry points and exclusions. I assume "entry point" means an index.tsx file that is the root of our application, but we have dynamically loaded routes in a react app so a majority of the app is "linked" but even so, using that individual file produces docs output of nothing but our readme.
I tried uses a glob for entry points instead
"entryPoints": ["app/**/*.ts?(x)"],
which works, except I cannot get excludes to work despite trying a dozen different things.I tried negating stuff in the glob in various ways, I tried adding stuff to the exclude array, yet nothing is ever excluded from the output.
For example:
The .spec.tsx and .stories.tsx files are still in the
docs
output. I've tried various glob patterns, listing them as separate array entries, etc. No changes.Am I misunderstanding how this works?
The text was updated successfully, but these errors were encountered: