1
0

vite.config.ts 303 B

12345678910111213
  1. import { defineConfig } from 'vite'
  2. import react from '@vitejs/plugin-react'
  3. import { URL, fileURLToPath } from 'url'
  4. // https://vitejs.dev/config/
  5. export default defineConfig({
  6. plugins: [react()],
  7. resolve: {
  8. alias: {
  9. '@': fileURLToPath(new URL('./src', import.meta.url)),
  10. },
  11. },
  12. })