UNPKG

tshy

Version:

TypeScript HYbridizer - Hybrid (CommonJS/ESM) TypeScript node package builder

13 lines 381 B
import fail from './fail.js'; export default (d) => { if (!!d && Array.isArray(d) && d.length && !d.some(d => typeof d !== 'string')) { return true; } fail(`tshy.exclude must be an array of string glob patterns if defined, ` + `got: ${JSON.stringify(d)}`); return process.exit(1); }; //# sourceMappingURL=valid-exclude.js.map