MCPcopy Index your code
hub / github.com/QwikDev/qwik / init

Function init

packages/qwik/src/optimizer/src/plugins/plugin.ts:130–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129 let lazyNormalizePath: (id: string) => string;
130 const init = async () => {
131 if (!internalOptimizer) {
132 internalOptimizer = await createOptimizer(optimizerOptions);
133 lazyNormalizePath = makeNormalizePath(internalOptimizer.sys);
134 }
135 };
136
137 const getOptimizer = () => {
138 if (!internalOptimizer) {

Callers

nothing calls this directly

Calls 2

createOptimizerFunction · 0.90
makeNormalizePathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…