Files
MaaAssistantArknights/website/apps/web/vite.config.ts
Alisa c2bd0133ba refactor: 合并 MAA Website 仓库 (#8886)
* chore: migrate maa website

* ci: change docs build test to website build test

* fix: rename artifact name to dist

* ci: add workflow to deploy website to azure
2024-04-24 09:31:52 +08:00

22 lines
350 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: true,
},
})