-
-
Notifications
You must be signed in to change notification settings - Fork 257
[webpack v4.0.0-alpha.0] this.context
=> this.rootContext
(Breaking Change)
#233
Comments
Could you please try the suggestion in webpack/webpack#6064 (comment) using |
this.context
=> this.rootContext
(Breaking Change)
@michael-ciniawsky Not sure if it’s what you asked, but I tried changing So then I assumed you meant file-loader, and I went to index.js:34 and made the following change: - const context = options.context || this.options.context;
+ const context = options.context; And it successfully built and emitted files. At least in my instance, |
You mean a - const context = options.context || this.options.context;
+ const context = options.context || this.rootContext; |
@michael-ciniawsky Yup! That works for me— |
@DangoDev Thx for testing that out :) |
This error is still happening! The above code fixed it for me. |
(from webpack#6064)
Running
webpack
with4.0.0-alpha.0
results in the following error, one per file:The text was updated successfully, but these errors were encountered: