From 55e9a392664d29feb7ac5ffda796e90f4b600873 Mon Sep 17 00:00:00 2001 From: Ryan Christian <33403762+rschristian@users.noreply.github.com> Date: Sun, 16 Feb 2025 15:54:17 -0600 Subject: [PATCH] fix: Resolve entries against cwd --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index c1e2f151..9c7f5fa1 100644 --- a/src/index.js +++ b/src/index.js @@ -218,7 +218,7 @@ async function getInput({ entries, cwd, source, module }) { (await jsOrTs(cwd, 'index')) || module, ) - .map(file => glob(file)) + .map(file => glob(file, { cwd })) .forEach(file => input.push(...file)); return input;