fix: Resolve entries against cwd

This commit is contained in:
Ryan Christian 2025-02-16 15:54:17 -06:00 committed by Ryan Christian
parent 9f56e06b0d
commit aa5d7bef53

View File

@ -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;