Skip to content

Commit 07e29e2

Browse files
committed
expose module on entry dep
1 parent 4ead659 commit 07e29e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Compilation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ Compilation.prototype._addModuleChain = function process(context, dependency, on
334334
Compilation.prototype.addEntry = function process(context, entry, name, callback) {
335335
this._addModuleChain(context, entry, function(module) {
336336

337+
entry.module = module;
337338
this.entries.push(module);
338339
module.id = 0;
339340

0 commit comments

Comments
 (0)