(pkg: PluginPackage)
| 79 | } |
| 80 | |
| 81 | function packageMain(pkg: PluginPackage) { |
| 82 | const value = pkg.json.main |
| 83 | if (typeof value !== "string") return |
| 84 | const next = value.trim() |
| 85 | if (!next) return |
| 86 | return next |
| 87 | } |
| 88 | |
| 89 | function resolvePackageFile(spec: string, raw: string, kind: string, pkg: PluginPackage) { |
| 90 | const resolved = resolveExportPath(raw, pkg.dir) |
no outgoing calls
no test coverage detected