I am trying to write a custom webpack loader.
Webpack documentation mentions that access to the _compiler, _compilation and _module properties on loader context is deprecated (https://webpack.js.org/api/loaders/#this_compilation) and should be avoided.
Is there a newer API that would allow me to access them?