mirror of
https://github.com/DerTyp7/dertyp7.github.io.git
synced 2025-10-28 12:22:14 +01:00
20 lines
454 B
TypeScript
20 lines
454 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react-swc'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': '/src',
|
|
'@components': '/src/components',
|
|
'@sections': '/src/sections',
|
|
'@styles': '/src/styles',
|
|
'@utils': '/src/utils',
|
|
'@hooks': '/src/hooks',
|
|
'@types': '/src/types',
|
|
'@assets': '/src/assets',
|
|
},
|
|
},
|
|
})
|