Compare commits

...

2 Commits

Author SHA1 Message Date
douboer
fb9e6cb1a9 update at 2026-02-07 13:05:11 2026-02-07 13:05:11 +08:00
douboer
12dd29c84b chore: stop tracking frontend vite config 2026-02-07 13:04:46 +08:00
2 changed files with 1 additions and 26 deletions

1
.gitignore vendored
View File

@@ -26,3 +26,4 @@ dist-ssr
*.ttf *.ttf
vite.config.ts vite.config.ts
frontend/vite.config.ts

View File

@@ -1,26 +0,0 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import UnoCSS from 'unocss/vite'
import wasm from 'vite-plugin-wasm'
import fs from 'fs'
import path from 'path'
import { homedir } from 'os'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue(), UnoCSS(), wasm()],
optimizeDeps: {
exclude: ['harfbuzzjs']
},
define: {
'process.env': {}
},
server: {
host: '0.0.0.0',
port: 5174,
https: {
key: fs.readFileSync(path.join(homedir(), 'mac.biboer.cn_ecc/mac.biboer.cn.key')),
cert: fs.readFileSync(path.join(homedir(), 'mac.biboer.cn_ecc/fullchain.cer'))
}
}
})