DEV Community

Discussion on: Create a React component library with Vite and Typescript

Collapse
 
nicolaserny profile image
Nicolas Erny

Thanks 🙏
I think I found the solution in the vitejs documentation: vitejs.dev/guide/build.html#librar...
You can define multiple entry points in the Vite config and expose them with folders (package.json).