MacFastLookup/frontend/vite.config.ts

13 lines
240 B
TypeScript
Raw Normal View History

2024-07-15 16:15:43 +08:00
import path from 'path'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
})