In addition, I found some code about before_loaders on the rust side, but the definition here is a litter different from webpack. Does it only need to be exported on the js side before it can be used? Please forgive me if my understanding is wrong.
Background
My webpack project use this hooks to add some custom loader context.
Current
webpack
NormalModuleCompilationHooks
:rspack js side
NormalModuleHooks
:My Confusion
In addition, I found some code about
before_loaders
on the rust side, but the definition here is a litter different from webpack. Does it only need to be exported on the js side before it can be used? Please forgive me if my understanding is wrong.Background
My webpack project use this hooks to add some custom loader context.