reactemplate/vite.config.ts

16 lines
267 B
TypeScript
Raw Normal View History

2022-04-02 14:54:55 +08:00
import { defineConfig } from 'vite'
import AutoImport from 'unplugin-auto-import/vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
resolve: {
alias: {
'~': 'src',
},
},
plugins: [
AutoImport(),
react(),
],
})