UNPKG

everything-dev

Version:

A consolidated product package for building Module Federation apps with oRPC APIs.

10 lines (8 loc) • 323 B
let node_crypto = require("node:crypto"); //#region src/utils/snapshot-hash.ts function computeSnapshotHash(content) { return (0, node_crypto.createHash)("sha256").update(content).digest("hex").substring(0, 16); } //#endregion exports.computeSnapshotHash = computeSnapshotHash; //# sourceMappingURL=snapshot-hash.cjs.map