Files
MaaAssistantArknights/website/apps/web/vite.config.mts
2025-04-19 13:08:56 +08:00

22 lines
351 B
TypeScript

import react from '@vitejs/plugin-react'
import path from 'path'
import { defineConfig } from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
base: './',
resolve: {
alias: {
'@': path.join(__dirname, 'src'),
},
},
plugins: [react()],
server: {
port: 3000,
},
build: {
sourcemap: false,
},
})