Allow access to full LoaderContext in load and transform hooks for webpack/rspack #403
Closed
1 task done
Labels
enhancement
New feature or request
Describe the feature
I am currently trying to migrate a custom webpack loader to unplugin. The webpack unplugin needs access to the loader context's
request
property in the transform hook. Theid
parameter is just the loader context'sresource
property.It would be advantageous to be able to access the build-system's native loader context (if available) from the load and transform hooks. This would make it easier to convert custom loaders to unplugin.
Additional information
The text was updated successfully, but these errors were encountered: