vue-shovel/vite.config.ts
Norman Köhring 959aa53138 package updates and fixed surrounding detection
* also a nicer running animation
2025-03-13 16:02:50 +01:00

21 lines
604 B
TypeScript

import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
],
resolve: {
alias: {
'~': fileURLToPath(new URL('./src', import.meta.url)),
'~cmp': fileURLToPath(new URL('./src/components', import.meta.url)),
'~use': fileURLToPath(new URL('./src/composables', import.meta.url)),
'~asset': fileURLToPath(new URL('./src/assets', import.meta.url)),
},
},
})