Update TypeScript and Vite settings so frontend runtime imports stay consistent with the current shared module layout.