Skip to content

Commit

Permalink
ci: optimized build config
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed May 24, 2024
1 parent 68cda7f commit 9efe92a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ export default defineConfig({
'echarts',
'atom-material-icons',
'simplemde',
'monaco-editor',
],
output: {
manualChunks: {
'monaco-editor': ['monaco-editor'],
},
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
Expand All @@ -53,6 +51,7 @@ export default defineConfig({
echarts: 'Echarts',
'atom-material-icons': 'AtomMaterialIcons',
'simplemde': 'SimpleMDE',
'monaco-editor': 'monaco',
}
}
},
Expand Down

0 comments on commit 9efe92a

Please sign in to comment.