Skip to content

Commit 5c74621

Browse files
committedSep 11, 2019
fix: truncate manifest hash
teporary fix until we remove hash :)
1 parent cd0326e commit 5c74621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/manifest/module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function addManifest (pwa) {
4040

4141
// Stringify manifest & generate hash
4242
const manifestSource = JSON.stringify(manifest)
43-
const manifestFileName = `manifest.${hash(manifestSource)}.json`
43+
const manifestFileName = `manifest.${hash(manifestSource).substr(0, 8)}.json`
4444

4545
// Merge final manifest into options.manifest for other modules
4646
if (!this.options.manifest) {

0 commit comments

Comments
 (0)
Please sign in to comment.