Skip to content

Commit 692a109

Browse files
authored
Merge pull request #13 from brandondoran/webpack-2
Use the webpack 2 chunk api
2 parents 4efc4b1 + f60e59a commit 692a109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ChunkManifestPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ChunkManifestPlugin.prototype.apply = function(compiler) {
2323
chunkManifest = [chunk].reduce(function registerChunk(manifest, c) {
2424
if(c.id in manifest) return manifest;
2525

26-
if(c.entry) {
26+
if(c.hasRuntime()) {
2727
manifest[c.id] = undefined;
2828
} else {
2929
manifest[c.id] = mainTemplate.applyPluginsWaterfall("asset-path", filename, {

0 commit comments

Comments
 (0)