Added cm6 strategy for splitting and dyn. loading langs

Split out legacy modes to their own dynamically imported bundle to
reduce main code bundle size.
This commit is contained in:
Dan Brown
2023-04-14 18:08:57 +01:00
parent 257a703878
commit 9874a53206
8 changed files with 144 additions and 114 deletions

View File

@@ -25,6 +25,9 @@
},
"dependencies": {
"@codemirror/commands": "^6.0.1",
"@codemirror/lang-css": "^6.1.1",
"@codemirror/lang-javascript": "^6.1.6",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-markdown": "^6.0.1",
"@codemirror/lang-php": "^6.0.0",
"@codemirror/language": "^6.2.1",