How to bundle components into a package with tsup
Hi, new to making library stuff, I have a list of
But there are some components which need their own dir, like
I have not made a package before so idk how bundling etc works
When I ran the tsup command, it bundled the entire list of named exports in the index.ts file, what about other components which arent imported in the main
components/ + index.ts fileindex.ts exports most of the components, so I'd wantBut there are some components which need their own dir, like
I have not made a package before so idk how bundling etc works
When I ran the tsup command, it bundled the entire list of named exports in the index.ts file, what about other components which arent imported in the main
index.ts file
