Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 3b928ac

Browse files
committed
Add comment
1 parent e69b96d commit 3b928ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ ExtractTextPlugin.prototype.apply = function(compiler) {
293293
}.bind(this));
294294
}.bind(this));
295295
compilation.plugin("before-chunk-assets", function() {
296+
// This appears to be the latest hook where the %%extracted-file%% and hash replacements work on initial load. Any later and the contents of modules appears to be sealed and changes don't have any effect until the next hot update.
296297
extractedChunks.forEach(function(extractedChunk) {
297298
if(extractedChunk.modules.length) {
298299
extractedChunk.modules.sort(function(a, b) {

0 commit comments

Comments
 (0)