Skip to content

Commit b5e4555

Browse files
committed
chore: split monaco-editor
1 parent 9bc6f1b commit b5e4555

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/web/vite.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ export default defineConfig(({ mode }) => {
9797
return `mermaid`
9898
if (id.includes(`highlight.js`))
9999
return `hljs`
100+
if (id.includes(`monaco-editor`))
101+
return `monaco-editor`
100102
const pkg = id
101103
.split(`node_modules/`)[1]
102104
.split(`/`)[0]

0 commit comments

Comments
 (0)