resolve-package-path
Version:
a special purpose fast memoizing way to resolve a node modules package.json
13 lines • 383 B
JavaScript
;
function includes(array, entry) {
for (let i = 0; i < array.length; i++) {
if (array[i] === entry) {
return true;
}
}
return false;
}
module.exports = function (process) {
return !!process.env.NODE_PRESERVE_SYMLINKS || includes(process.execArgv, '--preserve-symlinks');
};
//# sourceMappingURL=should-preserve-symlinks.js.map