Create index.tsx automatically with a task?
Jarrodsz opened this issue · comments
Any suggestions on how to integrate the index export files automatically?
Its should be fairly trival but tried several index generators and they all s*
My idea was to add a generate-index pnpm task so i can automate this and ser incorrect function declarations more easy while porting everything over to my mino repro setup
Hi, sorry I didn't really try these kinds of tools.
In my opinion, when you are making a package, be it internal or bundled for npm, one goal is also to hide the internals. Then have a clean user-facing API with a few selected exports that you pick manually in your index.ts.