import type { UserConfig } from 'vite'; import path from 'path'; const viteConfig: UserConfig = { port: 8080, hostname: 'localhost', open: false, alias: { '/@/': path.resolve(__dirname, './src') }, } export default viteConfig