MCPcopy
hub / github.com/FullHuman/purgecss / extractAPI

Function extractAPI

scripts/build.ts:110–120  ·  view source on GitHub ↗
(packageFolder: string)

Source from the content-addressed store, hash-verified

108};
109
110export async function extractAPI(packageFolder: string): Promise<void> {
111 const extractorAPIConfig = ExtractorConfig.prepare({
112 ...extractorAPIBaseConfig,
113 packageJsonFullPath: path.resolve(packageFolder, "package.json"),
114 configObject: {
115 ...extractorAPIBaseConfig.configObject,
116 projectFolder: packageFolder,
117 },
118 });
119 await Extractor.invoke(extractorAPIConfig);
120}

Callers 9

build.tsFile · 0.90
build.tsFile · 0.90
build.tsFile · 0.90
build.tsFile · 0.90
build.tsFile · 0.90
build.tsFile · 0.90
build.tsFile · 0.90
build.tsFile · 0.90
build.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…