UNPKG

@typed/content-hash

Version:

Content hash a directory of HTML/JS/CSS files and other static assets

10 lines 448 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toDependentMap = void 0; const Tuple2_1 = require("fp-ts/Tuple2"); const toDependencyMap_1 = require("./toDependencyMap"); function toDependentMap(graph, eq = graph) { return (0, toDependencyMap_1.toDependencyMap)({ ...graph, edges: graph.edges.map(Tuple2_1.swap) }, eq); } exports.toDependentMap = toDependentMap; //# sourceMappingURL=toDependentGraph.js.map