Update path resolution logic to handle both ESM and CJS environments safely, ensuring compatibility during build processes and runtime execution.
Setup project structure with React, Tailwind CSS, and TypeScript for a multi-theme portfolio application. Includes mock data definitions, environment configuration, and Vite build tooling.