How to Configure a Monorepo for a Component Library with Multiple Design Systems using Vite, TypeScript, and React?
I have a basic component library currently containing a single component. The project is built with Vite, TypeScript, and React. It supports two design systems, which load the appropriate .scss
file based on a designSystem
prop. In the long term, this approach is cumbersome. Instead, I want to create a monorepo with three packages: