MCPcopy Create free account
hub / github.com/callstackincubator/polygen / outputPathForModule

Method outputPathForModule

packages/codegen/src/codegen.ts:278–286  ·  view source on GitHub ↗
(module: PolygenModuleConfig, name: string)

Source from the content-addressed store, hash-verified

276 }
277
278 private outputPathForModule(module: PolygenModuleConfig, name: string) {
279 let dirName =
280 module.kind === 'external' ? `${module.packageName}#${name}` : name;
281 if (this.options.singleProject) {
282 return path.join(UMBRELLA_PROJECT_NAME, dirName);
283 }
284
285 return dirName;
286 }
287}

Callers 1

generateModuleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected