From 5c746218a5eafd21d51e5ad9fd330a2bcac04802 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Wed, 11 Sep 2019 11:45:32 +0200 Subject: [PATCH] fix: truncate manifest hash teporary fix until we remove hash :) --- lib/manifest/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/manifest/module.js b/lib/manifest/module.js index 8b0de0ce..050f9314 100755 --- a/lib/manifest/module.js +++ b/lib/manifest/module.js @@ -40,7 +40,7 @@ function addManifest (pwa) { // Stringify manifest & generate hash const manifestSource = JSON.stringify(manifest) - const manifestFileName = `manifest.${hash(manifestSource)}.json` + const manifestFileName = `manifest.${hash(manifestSource).substr(0, 8)}.json` // Merge final manifest into options.manifest for other modules if (!this.options.manifest) {