mirror of
https://github.com/developit/microbundle.git
synced 2026-01-18 13:56:35 +00:00
fix: Resolve entries against cwd
This commit is contained in:
parent
9f56e06b0d
commit
aa5d7bef53
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user