Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
10
Frontend-Learner/node_modules/yargs/build/lib/utils/which-module.js
generated
vendored
Normal file
10
Frontend-Learner/node_modules/yargs/build/lib/utils/which-module.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export default function whichModule(exported) {
|
||||
if (typeof require === 'undefined')
|
||||
return null;
|
||||
for (let i = 0, files = Object.keys(require.cache), mod; i < files.length; i++) {
|
||||
mod = require.cache[files[i]];
|
||||
if (mod.exports === exported)
|
||||
return mod;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue