Skip to content

Commit 144a101

Browse files
committed
fix: input map is not defined
1 parent 27d39ba commit 144a101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cfg-resolve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default ({input, flags = {}}) => {
2020
}
2121

2222
return mergeOptions(config || {}, {
23-
input: input.map(file => path.join(path.resolve(root), file)),
23+
input: [].concat(input).map(file => path.join(path.resolve(root), file)),
2424
output,
2525
options,
2626
root,

0 commit comments

Comments
 (0)