Skip to content

Commit

Permalink
Set initial = true for each of created chunks
Browse files Browse the repository at this point in the history
According to jantimon/html-webpack-plugin#95 initial set
means that asset it synchronous (vs async).

This fix is needed to fix jantimon/html-webpack-plugin#127
  • Loading branch information
sheerun committed Nov 28, 2015
1 parent f81d6cc commit 57e704b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ SplitByPathPlugin.prototype.apply = function(compiler) {
bucket.chunks = allChunks.slice(1);
}

bucket.initial = bucket.entry = !index;
bucket.initial = true;
bucket.entry = !index;
});
});
});
Expand Down

0 comments on commit 57e704b

Please sign in to comment.