@nuxtjs/pwa
Advanced tools
Comparing version 3.0.0-beta.18 to 3.0.0-beta.19
@@ -5,2 +5,10 @@ # Changelog | ||
## [3.0.0-beta.19](https://github.com/nuxt-community/pwa-module/compare/v3.0.0-beta.18...v3.0.0-beta.19) (2019-09-11) | ||
### Bug Fixes | ||
* expose modified pwa context to the config ([c325e44](https://github.com/nuxt-community/pwa-module/commit/c325e44)) | ||
* truncate manifest hash ([5c74621](https://github.com/nuxt-community/pwa-module/commit/5c74621)) | ||
## [3.0.0-beta.18](https://github.com/nuxt-community/pwa-module/compare/v3.0.0-beta.17...v3.0.0-beta.18) (2019-09-09) | ||
@@ -7,0 +15,0 @@ |
@@ -43,3 +43,3 @@ const hash = require('hasha') | ||
const manifestSource = JSON.stringify(manifest) | ||
const manifestFileName = `manifest.${hash(manifestSource)}.json` | ||
const manifestFileName = `manifest.${hash(manifestSource).substr(0, 8)}.json` | ||
@@ -46,0 +46,0 @@ // Merge final manifest into options.manifest for other modules |
@@ -5,3 +5,4 @@ module.exports = async function nuxtPWA (moduleOptions) { | ||
// Shared options context | ||
const pwa = { ...this.options.pwa, ...moduleOptions } | ||
this.options.pwa = { ...(this.options.pwa || {}), ...(moduleOptions || {}) } | ||
const { pwa } = this.options | ||
@@ -8,0 +9,0 @@ // Normalize options |
{ | ||
"name": "@nuxtjs/pwa", | ||
"version": "3.0.0-beta.18", | ||
"version": "3.0.0-beta.19", | ||
"description": "Supercharge Nuxt with a heavily tested, updated, zero-config and stable PWA solution!", | ||
@@ -5,0 +5,0 @@ "repository": "nuxt-community/pwa-module", |
126960
837