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 f704aaa commit cf0f715Copy full SHA for cf0f715
lib/index.js
@@ -23,7 +23,7 @@ module.exports = function (source) {
23
compileDebug: this.debug || false
24
}, query)
25
if (options.plugins){
26
- if (typeof options.plugins === 'object') {
+ if (!(options.plugins instanceof Array)) {
27
options.plugins = [options.plugins];
28
}
29
0 commit comments