Files
pwa-player/frontend/vite.config.ts
ju09279 c3c4de3c44 init
2024-08-11 21:55:11 +02:00

22 lines
371 B
TypeScript

import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue()
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
server: {
watch: {
usePolling: true,
},
},
})