diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts deleted file mode 100644 index f5221e2..0000000 --- a/frontend/vite.config.ts +++ /dev/null @@ -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')) - } - } -})