Skip to content

Commit 562a258

Browse files
committed
dedup
1 parent 943f395 commit 562a258

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ui/vite.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ export default defineConfig(({ mode }) => {
4949
alias: {
5050
'@': path.resolve(__dirname, './src'),
5151
},
52+
dedupe: [
53+
'@codemirror/state',
54+
'@codemirror/view',
55+
'@codemirror/language',
56+
'@codemirror/commands',
57+
'@codemirror/autocomplete',
58+
'@codemirror/lint',
59+
'@codemirror/search',
60+
],
5261
},
5362
define: {
5463
'import.meta.env.VITE_WS_URL':

0 commit comments

Comments
 (0)