mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
* 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
22 lines
350 B
TypeScript
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,
|
|
},
|
|
})
|