perf(csr): load component controllers on demand

This commit is contained in:
2026-08-09 14:10:15 +05:30
parent 324928cfca
commit 1660044ed2
8 changed files with 180 additions and 11 deletions
+2
View File
@@ -12,12 +12,14 @@
*/
import {
getReactiveRuntime,
getComponentControllerRuntime,
getNavRuntime,
getRealtimeRuntime,
} from "../../packages/csr/src/index.ts";
const runtimes: Record<string, string> = {
"reactive-runtime.ts": getReactiveRuntime(),
"component-controllers.ts": getComponentControllerRuntime(),
"nav-runtime.ts": getNavRuntime(),
"realtime-runtime.ts": getRealtimeRuntime(),
};