Skip to content

Commit 144a101

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cfg-resolve.js

Lines changed: 1 addition & 1 deletion
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)