chore: stop tracking frontend vite config

This commit is contained in:
douboer
2026-02-07 13:04:46 +08:00
parent 6616d284ed
commit 12dd29c84b

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'))
}
}
})