Skip to content

Commit 55e9a39

Browse files
authored
fix: Resolve entries against cwd
1 parent aae1611 commit 55e9a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async function getInput({ entries, cwd, source, module }) {
218218
(await jsOrTs(cwd, 'index')) ||
219219
module,
220220
)
221-
.map(file => glob(file))
221+
.map(file => glob(file, { cwd }))
222222
.forEach(file => input.push(...file));
223223

224224
return input;

0 commit comments

Comments
 (0)