Printable idea sheet
lazy_runtime_dependencies
reqlan rq/extension/startup-performance.rq:68
Base discovery must be cheap:
- Constructing `WorkspaceIndex` does not construct Langium / Chevrotain services; services are memoized on first parse.
- sql. js asm is not parsed as part of `main.cjs`; both index stores dynamically import the generated vendor bundle when a database first opens.
- Export / physics source is generated at build time rather than read via extension-runtime URLs.
The host bundle consequently fell from approximately 11. 2 MB to 2. 66 MB; sql. js occupies a separate approximately 8. 0 MB lazy vendor bundle.
workspace-index.ts
sqlite-store.ts
index-diagnostics-store.ts
esbuild.mjs
Status: done
Interactive page: lazy_runtime_dependencies