vue-ts-mgr/vite.config.ts

20 lines
340 B
TypeScript
Raw Permalink Normal View History

2024-09-10 02:09:15 +00:00
import { fileURLToPath, URL } from 'node:url'
import vue from '@vitejs/plugin-vue'
2024-09-10 17:52:52 +00:00
import { defineConfig } from 'vite'
2024-09-10 02:09:15 +00:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
2024-09-10 17:52:52 +00:00
},
server: {
ws: false
2024-09-10 02:09:15 +00:00
}
})