You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if there was a way to store some meta data related to the compiled resource across the whole stack of loaders.
I'm trying to parse front-matter early on to then use the collected values later for generating extra source a couple of loaders later. Unfortunately, the meta argument I pass through this.callback gets lost after the next loader.
Would you be open to having the loaderContext used to invoke each loader bear an extra property (resourceMeta?) where loaders could store metadata to keep during the run?
The text was updated successfully, but these errors were encountered:
It would be great if there was a way to store some meta data related to the compiled resource across the whole stack of loaders.
I'm trying to parse front-matter early on to then use the collected values later for generating extra source a couple of loaders later. Unfortunately, the
meta
argument I pass throughthis.callback
gets lost after the next loader.Would you be open to having the
loaderContext
used to invoke each loader bear an extra property (resourceMeta
?) where loaders could store metadata to keep during the run?The text was updated successfully, but these errors were encountered: