MCPcopy Create free account
hub / github.com/Silentely/eSIM-Tools / shouldSkipFile

Function shouldSkipFile

scripts/transpile-dist-js.js:36–42  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

34}
35
36function shouldSkipFile(filePath) {
37 const normalized = filePath.split(path.sep).join('/');
38 if (!normalized.endsWith('.js')) return true;
39 if (/\.min\.js$/i.test(normalized)) return true;
40 if (normalized.includes('/assets/vendor/')) return true;
41 return false;
42}
43
44async function collectJsFiles(directory) {
45 const result = [];

Callers 1

collectJsFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected