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 309f8dd commit 0c5dd57Copy full SHA for 0c5dd57
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