Creating a react component as bundle and using it in other react projects
I have two projects, Project A and Project B. Project A contains a React component, and I want to inject this component into Project B by creating a bundle of the component. I’ve tried various Vite configurations.