MCPcopy Create free account
hub / github.com/developit/microbundle / getDeclarationDir

Function getDeclarationDir

src/index.js:234–247  ·  view source on GitHub ↗
({ options, pkg })

Source from the content-addressed store, hash-verified

232}
233
234function getDeclarationDir({ options, pkg }) {
235 const { cwd, output } = options;
236
237 let result = output;
238
239 if (pkg.types || pkg.typings) {
240 result = pkg.types || pkg.typings;
241 result = resolve(cwd, result);
242 }
243
244 result = dirname(result);
245
246 return result;
247}
248
249async function getEntries({ input, cwd }) {
250 let entries = (

Callers 1

createConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…