the-forest/client/node_modules/react-scripts/config/webpack/persistentCache/createEnvironmentHash.js
2024-09-17 20:35:18 -04:00

10 lines
186 B
JavaScript

'use strict';
const { createHash } = require('crypto');
module.exports = env => {
const hash = createHash('md5');
hash.update(JSON.stringify(env));
return hash.digest('hex');
};