mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-12-12 16:38:56 +08:00
chore: improve tsconfig
This commit is contained in:
11
packages/jsx-explorer/vite.config.js
Normal file
11
packages/jsx-explorer/vite.config.js
Normal 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()],
|
||||
})
|
||||
Reference in New Issue
Block a user