Skip to content

Commit

Permalink
fix(index): add webpack >= v4.0.0 support (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
iansu authored and michael-ciniawsky committed Feb 21, 2018
1 parent 34e6138 commit 5d33937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function pitch() {
emitError: this.emitError,
emitWarning: this.emitWarning,
resolve: this.resolve,
optionsContext: this.options.context,
optionsContext: this.rootContext || this.options.context,
}, (err, r) => {
if (r) {
r.fileDependencies.forEach(d => this.addDependency(d));
Expand Down

0 comments on commit 5d33937

Please sign in to comment.