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.
2 parents f554430 + 0c5dd57 commit bcabd1fCopy full SHA for bcabd1f
src/lib/extract-chunks.js
@@ -52,7 +52,7 @@ function extractChunks ({ compilation, optionsInclude }) {
52
let includeChunks
53
let includeType
54
let includeEntryPoints
55
- if (optionsInclude && typeof optionsInclude === 'object') {
+ if (optionsInclude && typeof optionsInclude === 'object' && !Array.isArray(optionsInclude)) {
56
includeType = optionsInclude.type
57
includeChunks = optionsInclude.chunks
58
includeEntryPoints = optionsInclude.entries
0 commit comments