Files
libredesk/frontend/vite.config.js
Abhinav Raut edab73a8fa starting again
2024-05-25 11:49:41 +05:30

22 lines
385 B
JavaScript

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