({options})
| 16 | |
| 17 | module.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:') || |
nothing calls this directly
no outgoing calls
no test coverage detected