Skip to content

Commit

Permalink
fix: module optimzing
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 23, 2021
1 parent 964f64e commit 5dc8a8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/slidev/node/plugins/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export function createConfigPlugin(): Plugin {
optimizeDeps: {
include: [
...Object.keys(dependencies).filter(i => !EXCLUDE.includes(i)),
'codemirror/mode/javascript/javascript',
'codemirror/mode/css/css',
'codemirror/mode/markdown/markdown',
'codemirror/mode/xml/xml',
'codemirror/mode/htmlmixed/htmlmixed',
'prettier/esm/parser-babel',
'prettier/esm/parser-html',
'prettier/esm/parser-typescript',
Expand Down

0 comments on commit 5dc8a8b

Please sign in to comment.