We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe5d81b commit 83f1f4fCopy full SHA for 83f1f4f
packages/jsx-explorer/vite.config.ts
@@ -1,11 +1,9 @@
1
import VueJSX from '@vitejs/plugin-vue-jsx'
2
-import { defineConfig } from 'vite'
+import { defaultClientConditions, defineConfig } from 'vite'
3
4
export default defineConfig({
5
resolve: {
6
- alias: {
7
- '@vue/babel-plugin-jsx': '@vue/babel-plugin-jsx/src/index.ts',
8
- },
+ conditions: ['dev', ...defaultClientConditions],
9
},
10
define: {
11
'process.env.BABEL_TYPES_8_BREAKING': 'false',
0 commit comments