Skip to content

Commit a501265

Browse files
committed
loader: Make potential fix for issue webpack-contrib#850
1 parent 4d8e043 commit a501265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ function pitch(request) {
197197
({ context } = module);
198198
} else {
199199
// TODO check if this context is used somewhere
200-
context = this.rootContext;
200+
context = this.context;
201201
}
202202

203203
return {

0 commit comments

Comments
 (0)