Skip to content

Commit

Permalink
Merge pull request #95 from arcticicestudio/feature/gh-94-gatsby-plug…
Browse files Browse the repository at this point in the history
…in-offline-service-worker

 Gatsby Plugin "Offline" Service Worker
  • Loading branch information
arcticicestudio authored Dec 20, 2018
2 parents 6415ddc + 20fc0f4 commit e381f36
Show file tree
Hide file tree
Showing 3 changed files with 283 additions and 6 deletions.
7 changes: 6 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ module.exports = {
{
resolve: "gatsby-plugin-manifest",
options: gatsbyPluginManifestConfig
}
},
/*
* This plugin must definitely be listed last to ensure cache-able files like the web app manifest are included in
* the service worker!
*/
"gatsby-plugin-offline"
]
};
281 changes: 276 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"gatsby-plugin-manifest": "2.0.12",
"gatsby-plugin-netlify": "2.0.6",
"gatsby-plugin-no-sourcemaps": "2.0.1",
"gatsby-plugin-offline": "2.0.20",
"gatsby-plugin-react-helmet": "3.0.2",
"gatsby-plugin-remove-trailing-slashes": "2.0.5",
"gatsby-plugin-styled-components": "3.0.4",
Expand Down

0 comments on commit e381f36

Please sign in to comment.