MCPcopy Create free account
hub / github.com/tinyplex/tinybase / hidePrivateSvelteComponentChildren

Function hidePrivateSvelteComponentChildren

site/build.ts:184–201  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

182};
183
184const hidePrivateSvelteComponentChildren: NodeTransform = (node) => {
185 if (SVELTE_PRIVATE_PROPERTY.test(node.url)) {
186 node.hide = true;
187 node.publish = false;
188 return;
189 }
190 if (
191 SVELTE_API_PREFIX.test(node.url) &&
192 node.reflection == null &&
193 node.url.includes('/properties/') &&
194 !hasMarkdown(node.body) &&
195 !hasMarkdown(node.summary) &&
196 getSkippedChildren(node).length == 0
197 ) {
198 node.hide = true;
199 node.publish = false;
200 }
201};
202
203export const build = async (
204 esbuild: any,

Callers

nothing calls this directly

Calls 1

hasMarkdownFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…