We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61c5954 commit 9e07b1eCopy full SHA for 9e07b1e
packages/@vuepress/core/lib/node/plugin-api/util.js
@@ -22,7 +22,7 @@ exports.flattenPlugin = function (
22
pluginContext,
23
self
24
) {
25
- const { valid, warnMsg } = assertTypes(pluginOptions, [Object, Boolean])
+ const { valid, warnMsg } = assertTypes(pluginOptions, [Object, Array, Boolean])
26
if (!valid) {
27
if (pluginOptions !== undefined) {
28
logger.warn(
0 commit comments