From 7d2ca8f1ee67eb01807873756dbe3a9487bba196 Mon Sep 17 00:00:00 2001 From: Michal Gold Date: Tue, 4 Feb 2025 13:12:22 +0200 Subject: [PATCH] fec: enable useFileHash this commmit enable useFileHash in fec.config.js - when set it to true Webpack will append a hash (a unique identifier) to the filename based on its content. This helps prevent the browser from using an outdated cached version of a file when its content has changed. --- fec.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fec.config.js b/fec.config.js index 8bfa0a78..5f9005c6 100644 --- a/fec.config.js +++ b/fec.config.js @@ -84,7 +84,7 @@ if (process.env.SENTRY_AUTH_TOKEN) { module.exports = { sassPrefix: '.imageBuilder', debug: true, - useFileHash: false, + useFileHash: true, /* mockServiceWorker.js will be served from /beta/apps/image-builder, which will become its default scope. Setting the Service-Worker-Allowed header to