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 VueJSX from '@vitejs/plugin-vue-jsx'
|
||||||
import { defineConfig } from 'vite'
|
import { defaultClientConditions, defineConfig } from 'vite'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
conditions: ['dev', ...defaultClientConditions],
|
||||||
'@vue/babel-plugin-jsx': '@vue/babel-plugin-jsx/src/index.ts',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
define: {
|
define: {
|
||||||
'process.env.BABEL_TYPES_8_BREAKING': 'false',
|
'process.env.BABEL_TYPES_8_BREAKING': 'false',
|
||||||
|
|||||||
Reference in New Issue
Block a user