mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-12-09 15:09:40 +08:00
chore(jsx-explorer): fix resolve
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import VueJSX from '@vitejs/plugin-vue-jsx'
|
||||
import { defineConfig } from 'vite'
|
||||
import { defaultClientConditions, defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@vue/babel-plugin-jsx': '@vue/babel-plugin-jsx/src/index.ts',
|
||||
},
|
||||
conditions: ['dev', ...defaultClientConditions],
|
||||
},
|
||||
define: {
|
||||
'process.env.BABEL_TYPES_8_BREAKING': 'false',
|
||||
|
||||
Reference in New Issue
Block a user