chore: improve tsconfig

This commit is contained in:
Kevin Deng
2025-11-26 17:32:17 +08:00
parent 83f1f4f2dd
commit 9dac0d9a83
9 changed files with 35 additions and 24 deletions

View File

@@ -0,0 +1,11 @@
import VueJSX from '@vitejs/plugin-vue-jsx'
import { defaultClientConditions, defineConfig } from 'vite'
export default defineConfig({
resolve: {
conditions: ['dev', ...defaultClientConditions],
},
define: {
'process.env.BABEL_TYPES_8_BREAKING': 'false',
},
plugins: [VueJSX()],
})