(id: string, details?: string)
| 995 | } |
| 996 | |
| 997 | function packageEntryFailure(id: string, details?: string) { |
| 998 | const err: any = new Error( |
| 999 | `Failed to resolve entry for package "${id}". ` + |
| 1000 | `The package may have incorrect main/module/exports specified in its package.json` + |
| 1001 | (details ? ': ' + details : '.'), |
| 1002 | ) |
| 1003 | err.code = ERR_RESOLVE_PACKAGE_ENTRY_FAIL |
| 1004 | throw err |
| 1005 | } |
| 1006 | |
| 1007 | function getConditions( |
| 1008 | conditions: string[], |
no outgoing calls
no test coverage detected