Files
TermiNexus 5021207790 chore: 初始化 Venom 官网独立仓库
VenomWebSite 原被 SMANAGE 主仓 .gitignore 排除、无版本控制,现拆为独立仓库并接入 git.gvsds.com/GVSDS/VenomWebSite。

包含:Vue 3 + TS + Vite 官网源码、Lenis 平滑惯性滚动、deploy.ps1 部署脚本、README 与 .gitignore / .gitattributes。
2026-09-28 17:31:21 +08:00

24 lines
470 B
TypeScript

import { defineConfig } from 'vite'
import { fileURLToPath, URL } from 'node:url'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
host: '0.0.0.0',
port: 5176,
},
build: {
outDir: 'dist',
sourcemap: false,
chunkSizeWarningLimit: 1500,
cssCodeSplit: false,
},
})