MCPcopy Create free account
hub / github.com/stenciljs/core / getWorkerEntryPath

Function getWorkerEntryPath

src/compiler/bundle/worker-plugin.ts:135–140  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

133};
134
135const getWorkerEntryPath = (id: string) => {
136 if (WORKER_SUFFIX.some((p) => id.endsWith(p))) {
137 return normalizeFsPath(id);
138 }
139 return null;
140};
141
142interface WorkerMeta {
143 code: string;

Callers 1

transformFunction · 0.85

Calls 1

normalizeFsPathFunction · 0.85

Tested by

no test coverage detected