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

Function loadConfig

packages/dev/parcel-resolver-docs/DocsResolver.js:18–26  ·  view source on GitHub ↗
({options})

Source from the content-addressed store, hash-verified

16
17module.exports = new Resolver({
18 loadConfig({options}) {
19 return new NodeResolver({
20 fs: options.inputFS,
21 projectRoot: options.projectRoot,
22 extensions: ['ts', 'tsx', 'd.ts', 'js'],
23 mainFields: ['source', 'types', 'main'],
24 packageExports: true
25 });
26 },
27 async resolve({dependency, options, specifier, config: resolver}) {
28 if (
29 dependency.specifier.startsWith('docs:') ||

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected