in next.config.js [192:200]
function hashFile(filePath) {
const hash = crypto.createHash(`sha256`);
const fileData = fs.readFileSync(filePath);
hash.update(fileData);
const fullHash = hash.digest(`hex`);
// Use a hash length that matches what Webpack does
return fullHash.substr(0, 20);
}