Skip to content

Commit de5d853

Browse files
committedSep 6, 2024··
fix(jsx-explorer): disable optimizing dependencies in build mode
1 parent 1337606 commit de5d853

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed
 

‎packages/jsx-explorer/vite.config.ts

+1-11
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ import VueJSX from '@vitejs/plugin-vue-jsx';
44
import MonacoEditorPlugin from 'vite-plugin-monaco-editor';
55

66
export default defineConfig({
7-
build: {
8-
commonjsOptions: {
9-
include: [],
10-
},
11-
},
127
resolve: {
138
alias: {
149
'@vue/babel-plugin-jsx': '@vue/babel-plugin-jsx/src/index.ts',
@@ -21,12 +16,7 @@ export default defineConfig({
2116
languageWorkers: ['editorWorkerService', 'typescript'],
2217
}),
2318
nodePolyfills({
24-
globals: {
25-
process: true,
26-
},
19+
globals: { process: true },
2720
}),
2821
],
29-
optimizeDeps: {
30-
disabled: false,
31-
},
3222
});

0 commit comments

Comments
 (0)
Please sign in to comment.