Skip to content

Commit a92ff91

Browse files
committed
feat(jsx-explorer): support dev debugging
1 parent 5a25165 commit a92ff91

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/jsx-explorer/vite.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import MonacoEditorPlugin from 'vite-plugin-monaco-editor';
33
import { nodePolyfills } from 'vite-plugin-node-polyfills';
44

55
export default defineConfig({
6+
resolve: {
7+
alias: {
8+
'@vue/babel-plugin-jsx': '@vue/babel-plugin-jsx/src/index.ts',
9+
},
10+
},
611
plugins: [
712
MonacoEditorPlugin({}),
813
nodePolyfills({

0 commit comments

Comments
 (0)