UNPKG

nx-remotecache-custom

Version:

Build custom caching for @nrwl/nx in a few lines of code

9 lines (8 loc) 336 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createFilterSourceFile = void 0; const path_1 = require("path"); function createFilterSourceFile(hash) { return (path) => (0, path_1.normalize)(path) !== (0, path_1.join)(hash, "source"); } exports.createFilterSourceFile = createFilterSourceFile;