ZiuChen.github.io/docs/vite.config.ts
ZiuChen 9c60e54509 feat: 定期检查文档更新并弹出提醒
- 扩展基础主题代码做抽取
2023-11-17 00:33:46 +08:00

15 lines
285 B
TypeScript

import { defineConfig } from 'vite'
import vueJsx from '@vitejs/plugin-vue-jsx'
export default defineConfig(() => ({
server: {
proxy: {
'/hashmap.json': {
target: 'https://ziuchen.github.io',
changeOrigin: true
}
}
},
plugins: [vueJsx()]
}))