Skip to content

Commit

Permalink
Merge pull request #28 from welljs/master
Browse files Browse the repository at this point in the history
returned compatibility with webpack 1.x
  • Loading branch information
diurnalist committed Apr 24, 2017
2 parents 6342797 + 97404e2 commit e8e79f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ChunkManifestPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ChunkManifestPlugin.prototype.apply = function(compiler) {
chunkManifest = [chunk].reduce(function registerChunk(manifest, c) {
if(c.id in manifest) return manifest;

if(c.hasRuntime()) {
if((typeof c.hasRuntime === 'function' && c.hasRuntime()) || c.entry) {
manifest[c.id] = undefined;
} else {
manifest[c.id] = mainTemplate.applyPluginsWaterfall("asset-path", filename, {
Expand Down

0 comments on commit e8e79f7

Please sign in to comment.