I have two separate SPFx solutions:
Timesheet WebPart → already deployed and working on one SharePoint page
HRMS WebPart → a completely separate SPFx project used on another page
The Timesheet solution is a large and complex project (many components, services, utils, etc.), so copying files or moving the logic is very time-consuming and risky.
My goal:
Reuse the existing Timesheet Webpart inside the HRMS Webpart without duplicating the logic or moving files.