MCPcopy Create free account
hub / github.com/adobe/react-spectrum / getSpecifier

Function getSpecifier

packages/dev/parcel-packager-ssg/SSGPackager.js:287–293  ·  view source on GitHub ↗
(dep)

Source from the content-addressed store, hash-verified

285});
286
287function getSpecifier(dep) {
288 if (typeof dep.meta.placeholder === 'string') {
289 return dep.meta.placeholder;
290 }
291
292 return dep.specifier;
293}
294
295function rename(bundle) {
296 return bundle.name.slice(0, -path.extname(bundle.name).length) + '.html';

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected