From 34bfe70518f1293900d2d88ababcf415bcdf1ed8 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Tue, 26 Feb 2019 10:56:15 +0100 Subject: [PATCH] Remove service worker --- website/gatsby-config.js | 3 ++- website/package-lock.json | 7 ++++++- website/package.json | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/website/gatsby-config.js b/website/gatsby-config.js index aacc25545..7afac9447 100644 --- a/website/gatsby-config.js +++ b/website/gatsby-config.js @@ -140,6 +140,7 @@ module.exports = { respectDNT: true, }, }, - `gatsby-plugin-offline`, + //`gatsby-plugin-offline`, + `gatsby-plugin-remove-serviceworker`, ], } diff --git a/website/package-lock.json b/website/package-lock.json index 88643ac10..56dc0199d 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -2413,7 +2413,7 @@ }, "babel-plugin-syntax-object-rest-spread": { "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=" }, "babel-plugin-syntax-trailing-function-commas": { @@ -8011,6 +8011,11 @@ "svg-react-loader": "^0.4.4" } }, + "gatsby-plugin-remove-serviceworker": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-remove-serviceworker/-/gatsby-plugin-remove-serviceworker-1.0.0.tgz", + "integrity": "sha1-n7QzvIvXZuFOHTcRxKxvBR4d/3w=" + }, "gatsby-plugin-remove-trailing-slashes": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/gatsby-plugin-remove-trailing-slashes/-/gatsby-plugin-remove-trailing-slashes-2.0.7.tgz", diff --git a/website/package.json b/website/package.json index 07b2fea7d..8f9f6ce6b 100644 --- a/website/package.json +++ b/website/package.json @@ -26,6 +26,7 @@ "gatsby-plugin-offline": "^2.0.24", "gatsby-plugin-react-helmet": "^3.0.6", "gatsby-plugin-react-svg": "^2.0.0", + "gatsby-plugin-remove-serviceworker": "^1.0.0", "gatsby-plugin-sass": "^2.0.10", "gatsby-plugin-sharp": "^2.0.20", "gatsby-plugin-sitemap": "^2.0.5",