dart/vite.config.ts
2024-06-24 12:30:01 +03:00

15 lines
308 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// @ts-ignore
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
// @ts-ignore
'@': path.resolve(__dirname, './src'),
},
},
})