Closed statianzo closed 6 years ago
Webpack 4 removed this.options from loaders. The replacement for this.options.context is this.rootContext.
this.options
this.options.context
this.rootContext
this.options and this.rootContext webpack 3 already deprecated this.options in the loader context. webpack 4 removes it now. A lot of people are missing the this.options.context value now. It has been added as this.rootContext.
this.options and this.rootContext webpack 3 already deprecated this.options in the loader context. webpack 4 removes it now.
A lot of people are missing the this.options.context value now. It has been added as this.rootContext.
https://medium.com/webpack/webpack-4-migration-guide-for-plugins-loaders-20a79b927202
Fixes #69
All committers have signed the CLA.
Released in v0.5.6 🎉 Thx
v0.5.6
Webpack 4 removed
this.options
from loaders. The replacement forthis.options.context
isthis.rootContext
.https://medium.com/webpack/webpack-4-migration-guide-for-plugins-loaders-20a79b927202
Fixes #69