Skip to content

Commit 3c530b2

Browse files
DSchauKyleAMathews
authored andcommitted
fix: make service worker/pwa opt-in and comment gatsby-plugin-offline (gatsbyjs#113)
* chore: comment out gatsby-plugin-offline; add message * chore: add short link
1 parent 9c9de31 commit 3c530b2

File tree

3 files changed

+98
-86
lines changed

3 files changed

+98
-86
lines changed

gatsby-config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ module.exports = {
2525
icon: 'src/images/gatsby-icon.png', // This path is relative to the root of the site.
2626
},
2727
},
28-
'gatsby-plugin-offline',
28+
// this (optional) plugin enables Progressive Web App + Offline functionality
29+
// To learn more, visit: https://gatsby.app/offline
30+
// 'gatsby-plugin-offline',
2931
],
3032
}

package-lock.json

+94-84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"gatsby": "^2.0.19",
88
"gatsby-image": "^2.0.15",
99
"gatsby-plugin-manifest": "^2.0.5",
10-
"gatsby-plugin-offline": "^2.0.5",
10+
"gatsby-plugin-offline": "^2.0.11",
1111
"gatsby-plugin-react-helmet": "^3.0.0",
1212
"gatsby-plugin-sharp": "^2.0.7",
1313
"gatsby-source-filesystem": "^2.0.4",

0 commit comments

Comments
 (0)