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

Function parseHook

src/index.js:20–25  ·  view source on GitHub ↗
(data, handler)

Source from the content-addressed store, hash-verified

18}
19
20function parseHook(data, handler) {
21 if (data.normalModuleFactory.hooks) {
22 return data.normalModuleFactory.hooks.parser.for('javascript/auto').tap(tapName, handler);
23 }
24 return data.normalModuleFactory.plugin('parser', handler);
25}
26
27function exportDeclarationHook(parser, handler) {
28 if (parser.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…