Closed
Description
From @gaearon on July 15, 2014 8:10
I'd submit a PR but honestly, having written two loaders, I'm not sure I really understand what a pitch loader is.
Is my understanding correct here:
- normal loaders always transform the source and thus rely on previous loader's output
- pitch loaders don't depend on the source itself and are happy with being given just a module name (that they can require), thus they are cacheable even if module's content changes
- everything that can be implemented as a pitch loader, can also be implemented as a normal loader, but pitch loaders are faster (cacheable with no regards to module output, may be run in parallel, etc)
?
Copied from original issue: webpack/webpack#360