imjuni / ctix

CLI to generate barrel file for webpack, rollup entrypoint
MIT License
81 stars 21 forks source link

including ts and tsx files but exclude .d.ts and .stories.tsx files #96

Closed simpel closed 10 months ago

simpel commented 10 months ago

Hi!

I guess the title says it all, how can I exclude my storybook and .d.ts files from the barrel file?

imjuni commented 10 months ago

See this, include, exclude

Set the exclude field in your options file, or add the @ctix-exclude comment to the top of your file