karusic/front/vite.config.mts

21 lines
366 B
TypeScript

import react from '@vitejs/plugin-react';
import path from 'node:path';
import { defineConfig } from 'vite';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
port: 4203,
},
preview: {
port: 4203,
},
base: '/karusic',
});