mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-08-13 18:53:19 +08:00
15 lines
300 B
TypeScript
15 lines
300 B
TypeScript
import { defineConfig } from 'vite';
|
|
import VueJSX from '@vitejs/plugin-vue-jsx';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@vue/babel-plugin-jsx': '@vue/babel-plugin-jsx/src/index.ts',
|
|
},
|
|
},
|
|
experimental: {
|
|
enableNativePlugin: true,
|
|
},
|
|
plugins: [VueJSX()],
|
|
});
|