source: frontend/node_modules/react-scripts/config/webpack/persistentCache/createEnvironmentHash.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 186 bytes
Line 
1'use strict';
2const { createHash } = require('crypto');
3
4module.exports = env => {
5 const hash = createHash('md5');
6 hash.update(JSON.stringify(env));
7
8 return hash.digest('hex');
9};
Note: See TracBrowser for help on using the repository browser.