mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-12-09 23:20:04 +08:00
12 lines
300 B
JavaScript
12 lines
300 B
JavaScript
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()],
|
|
})
|