my-resume/vite.config.ts
2025-05-25 10:34:01 +02:00

16 lines
342 B
TypeScript

import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { analyzer } from 'vite-bundle-analyzer'
export default defineConfig({
plugins: [
vue(),
analyzer(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})