Optimize bundle size + chunked builds + JIT loading

* Replaced AJV with other JSON schema library
* Turndown and Vim mode (very large) now only loaded when used
* Chunked builds with ESBuild
This commit is contained in:
Zef Hemel
2026-03-11 10:04:13 +01:00
parent 81408ed5cf
commit a080ee3b15
13 changed files with 352 additions and 400 deletions
+1 -1
View File
@@ -64,6 +64,7 @@
"bench": "vitest bench"
},
"dependencies": {
"@cfworker/json-schema": "^4.1.1",
"@codemirror/autocomplete": "6.20.0",
"@codemirror/commands": "6.10.1",
"@codemirror/lang-css": "6.3.1",
@@ -87,7 +88,6 @@
"@msgpack/msgpack": "3.1.3",
"@replit/codemirror-lang-nix": "6.0.1",
"@replit/codemirror-vim": "6.3.0",
"ajv": "8.17.1",
"commander": "^14.0.3",
"crelt": "1.0.6",
"esbuild": "^0.27.3",