From fc2f980d8f9c462e5b79a6aeb0ff10dca7578071 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 11 Jan 2024 14:33:34 +0100 Subject: [PATCH] remove log --- src/resolve.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/resolve.ts b/src/resolve.ts index 6f7ae7f..df18f56 100644 --- a/src/resolve.ts +++ b/src/resolve.ts @@ -206,9 +206,7 @@ function _findSubpath(subpath: string, exports: PackageJson["exports"]) { return subpath; } - const _flatExports = _flattenExports(exports); - console.log(subpath, "in", _flatExports); - return _flatExports.find((p) => p.fsPath === subpath)?.subpath; + return _flattenExports(exports).find((p) => p.fsPath === subpath)?.subpath; } function _flattenExports(