| 1234567891011121314151617181920 |
- import { fileURLToPath, URL } from 'node:url'
- import vue from '@vitejs/plugin-vue'
- import { defineConfig } from 'vite'
- export default defineConfig({
- plugins: [vue()],
- resolve: {
- alias: {
- '@': fileURLToPath(new URL('./src/client', import.meta.url)),
- '@shared': fileURLToPath(new URL('./src/shared', import.meta.url)),
- },
- },
- build: {
- outDir: 'dist',
- sourcemap: true,
- },
- server: {
- strictPort: true,
- },
- })
|