(source, importer)
| 33 | return { |
| 34 | name: 'stubbing for browser', |
| 35 | async resolveId(source, importer) { |
| 36 | if (!importer) { |
| 37 | return null; // skip entry files |
| 38 | } |
| 39 | if (source.includes('crypto')) { |
| 40 | return source; |
| 41 | } |
| 42 | return null; |
| 43 | }, |
| 44 | async load(id) { |
| 45 | if (id.includes('crypto')) { |
| 46 | return cryptoStub; |
nothing calls this directly
no outgoing calls
no test coverage detected