Skip to content

Commit

Permalink
fix: truncate manifest hash
Browse files Browse the repository at this point in the history
teporary fix until we remove hash :)
  • Loading branch information
pi0 committed Sep 11, 2019
1 parent cd0326e commit 5c74621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manifest/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5c74621

Please sign in to comment.