MCPcopy Index your code
hub / github.com/developit/workerize-loader / compilationHook

Function compilationHook

src/index.js:13–18  ·  view source on GitHub ↗
(compiler, handler)

Source from the content-addressed store, hash-verified

11const tapName = 'workerize-loader';
12
13function compilationHook(compiler, handler) {
14 if (compiler.hooks) {
15 return compiler.hooks.compilation.tap(tapName, handler);
16 }
17 return compiler.plugin('compilation', handler);
18}
19
20function parseHook(data, handler) {
21 if (data.normalModuleFactory.hooks) {

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…