We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df36e4f commit f550f11Copy full SHA for f550f11
src/cli.js
@@ -67,8 +67,7 @@ const config = cfgResolve(cli);
67
68
const processing = async file => {
69
const output = await outResolve(file, config.output);
70
- // const output = path.resolve(config.output, path.basename(file));
71
- const plugins = getPlugins(config);
+ const plugins = Array.isArray(config.plugins) ? config.plugins : getPlugins(config);
72
73
makeDir(path.dirname(output))
74
.then(read.bind(null, file))
0 commit comments