Skip to content

Commit

Permalink
Quick fix for #186 (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-konshin authored and mastilver committed Dec 5, 2019
1 parent 4e02e21 commit 21bc5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ ManifestPlugin.prototype.apply = function(compiler) {
});
}

var isEntryAsset = asset.chunks.length > 0;
var isEntryAsset = asset.chunks && asset.chunks.length > 0;
if (isEntryAsset) {
return files;
}
Expand Down

0 comments on commit 21bc5cd

Please sign in to comment.