Skip to content

Commit 83f1f4f

Browse files
committed
chore(jsx-explorer): fix resolve
1 parent fe5d81b commit 83f1f4f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/jsx-explorer/vite.config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import VueJSX from '@vitejs/plugin-vue-jsx'
2-
import { defineConfig } from 'vite'
2+
import { defaultClientConditions, defineConfig } from 'vite'
33

44
export default defineConfig({
55
resolve: {
6-
alias: {
7-
'@vue/babel-plugin-jsx': '@vue/babel-plugin-jsx/src/index.ts',
8-
},
6+
conditions: ['dev', ...defaultClientConditions],
97
},
108
define: {
119
'process.env.BABEL_TYPES_8_BREAKING': 'false',

0 commit comments

Comments
 (0)