perf(csr): load component controllers on demand
This commit is contained in:
@@ -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(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user