mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-26 20:22:32 +02:00
fix: dependency updates and the removal of hatsby-plugin-offline
This commit is contained in:
@@ -164,31 +164,6 @@ export default {
|
||||
start_url: "/",
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: "gatsby-plugin-offline",
|
||||
options: {
|
||||
workboxConfig: {
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: /(\.js$|\.css$|[^:]static\/)/,
|
||||
handler: "CacheFirst",
|
||||
},
|
||||
{
|
||||
urlPattern: /^https?:.*\/page-data\/.*\.json/,
|
||||
handler: "StaleWhileRevalidate",
|
||||
},
|
||||
{
|
||||
urlPattern: /^https?:.*\.(png|jpg|jpeg|webp|svg|gif|tiff|js|woff|woff2|json|css)$/,
|
||||
handler: "StaleWhileRevalidate",
|
||||
},
|
||||
{
|
||||
urlPattern: /^https?:\/\/fonts\.googleapis\.com\/css/,
|
||||
handler: "StaleWhileRevalidate",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: "gatsby-plugin-react-helmet-canonical-urls",
|
||||
options: {
|
||||
@@ -196,6 +171,8 @@ export default {
|
||||
stripQueryString: true,
|
||||
},
|
||||
},
|
||||
// remove the old serviceworker if it is available.
|
||||
"gatsby-plugin-remove-serviceworker",
|
||||
"gatsby-plugin-image",
|
||||
"gatsby-plugin-catch-links",
|
||||
"gatsby-plugin-react-helmet",
|
||||
|
Reference in New Issue
Block a user