We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc9f63c commit ec75743Copy full SHA for ec75743
1 file changed
src/cli.js
@@ -49,8 +49,9 @@ const cli = meow(`
49
alias: 'o'
50
},
51
use: {
52
- type: 'array',
53
- alias: 'u'
+ type: 'string',
+ alias: 'u',
54
+ isMultiple: true
55
56
root: {
57
type: 'string',
@@ -84,7 +85,7 @@ const processing = async file => {
84
85
const plugins = Array.isArray(config.plugins) ? config.plugins : getPlugins(config);
86
87
makeDir(path.dirname(output))
- .then(read.bind(null, file))
88
+ .then(read.bind(undefined, file))
89
.then(html => posthtml(plugins).process(html))
90
.then(({html}) => {
91
fs.writeFile(output, html, error => {
0 commit comments