(exports, includeDefault)
| 267 | } |
| 268 | |
| 269 | function walk(exports, includeDefault) { |
| 270 | if (!exports) return null; |
| 271 | if (typeof exports === 'string') return exports; |
| 272 | let p = exports['.'] || exports.import || exports.module; |
| 273 | if (!p && includeDefault) p = exports.default; |
| 274 | return walk(p, includeDefault); |
| 275 | } |
| 276 | |
| 277 | function getMain({ options, entry, format }) { |
| 278 | const { pkg } = options; |
no outgoing calls
no test coverage detected
searching dependent graphs…