1 parent 58cacb2 commit 9cbe4f1Copy full SHA for 9cbe4f1
1 file changed
lib/optimize/CommonsChunkPlugin.js
@@ -257,7 +257,7 @@ Take a look at the "name"/"names" or async/children option.`);
257
if(Array.isArray(selectedChunks)) {
258
return allChunks.filter(chunk => {
259
const notCommmonChunk = chunk !== targetChunk;
260
- const isSelectedChunk = selectedChunks.includes(chunk.name)
+ const isSelectedChunk = selectedChunks.includes(chunk.name);
261
return notCommmonChunk && isSelectedChunk;
262
});
263
}
0 commit comments