MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / setupPushEvent

Method setupPushEvent

lib/Utils/src/ModuleRaid.js:211–224  ·  view source on GitHub ↗

* Method to hook into `window[this.entrypoint].push` adding a listener for new * chunks being pushed into Webpack * * @example * You can listen for newly pushed packages using the `moduleraid:webpack-push` event * on `document` * * ```ts * document.addEventListener('modulerai

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

constructorMethod · 0.95

Calls 2

applyMethod · 0.80
dispatchEventMethod · 0.45

Tested by

no test coverage detected