dart/vite.config.ts

16 lines
308 B
TypeScript
Raw Permalink 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
2024-06-24 09:30:01 +00:00
'@': path.resolve(__dirname, './src'),
2024-06-22 17:48:39 +00:00
},
},
})