import { fileURLToPath, URL } from 'node:url' import { defineConfig } from 'vite' import sharedConfig from '../shared/vite.config.js' export default defineConfig({ ...sharedConfig, resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), '@shared': fileURLToPath(new URL('../shared', import.meta.url)), }, }, })