onyx/onyx-web-app/vite.config.ts

17 lines
309 B
TypeScript
Raw Permalink Normal View History

2023-10-25 19:59:35 +00:00
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))
}
}
})