dart/vite.config.ts

16 lines
308 B
TypeScript
Raw Normal View History

2024-06-22 17:48:39 +00:00
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"),
},
},
})