Files
hereconnect/vite.config.ts
T
ti 237ff16864
Main daploy / deploy (push) Successful in 55s
add landing
2024-11-11 16:08:47 +02:00

22 lines
445 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(),
],
define: {
global: 'window' // it is needed for PouchDB
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
})