Replies: 1 comment 7 replies
-
Why do you want to store something in build info? Ideally loaders should not know nothing about other loaders and plugins, they can be run in parallels mode in future (we are working on it) |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
similar question to this but for loaders. we currently use the following pattern:
whilst it may seem inefficient to have to iterate built modules to extract the metadata the reason we implemented it this way is because it takes advantage of webpack's file cache -- the metadata is included in the pack files webpack writes. however, given that
this._module
is deprecated how should we be doing this?Beta Was this translation helpful? Give feedback.
All reactions