fixed untracked files

This commit is contained in:
Luca Schwan
2020-03-21 03:48:59 +01:00
parent 7462ec7ce2
commit 5a63d36fa4
1066 changed files with 0 additions and 138320 deletions

View File

@ -1,14 +0,0 @@
exports.require = function loader(requireData, objMap = {}) {
for (const [name, reqFn] of requireData) {
try {
const dep = require(name);
const fn = reqFn ? reqFn(dep) : dep;
return {
[objMap.module || 'module']: dep,
[objMap.name || 'name']: name,
[objMap.fn || 'fn']: fn,
};
} catch (e) { }
}
return {};
};