MCPcopy Index your code
hub / github.com/css-modules/css-modules-require-hook / dropCache

Function dropCache

test/sugar.js:8–10  ·  view source on GitHub ↗

* Drops require cache for the certain module * * @param {string} modulePath

(modulePath)

Source from the content-addressed store, hash-verified

6 * @param {string} modulePath
7 */
8function dropCache(modulePath) {
9 delete require.cache[require.resolve(modulePath)];
10};
11
12/**
13 * @param {string} extension

Callers 15

index.jsFile · 0.50
node_env.jsFile · 0.50
mode.jsFile · 0.50
preprocessCss.jsFile · 0.50
resolve.jsFile · 0.50
prepend.jsFile · 0.50
processorOpts.jsFile · 0.50
camelCase.jsFile · 0.50
hashPrefix.jsFile · 0.50
devMode.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…