-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
51 lines (50 loc) · 1.31 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* @type {import('gatsby').GatsbyConfig}
*/
const url = 'https://howtohardrefresh.com'
module.exports = {
siteMetadata: {
title: `Hard Refresh Any Browser | How to Hard Refresh`,
siteUrl: url,
description: `If you need to bypass your web browser cache use these refresh shortcuts to hard refresh your browser and see your latest page updates.`
},
plugins: ["gatsby-plugin-image", "gatsby-plugin-styled-components", "gatsby-plugin-sitemap", {
resolve: 'gatsby-plugin-manifest',
options: {
"icon": "src/assets/images/icon.png"
}
}, "gatsby-plugin-mdx", "gatsby-plugin-sharp", "gatsby-transformer-sharp", {
resolve: 'gatsby-source-filesystem',
options: {
"name": "images",
"path": "src/assets/images/"
},
__key: "images"
}, {
resolve: 'gatsby-source-filesystem',
options: {
"name": "pages",
"path": "src/pages/"
},
__key: "pages"
}, {
resolve: 'gatsby-source-filesystem',
options: {
"name": "pages",
"path": "src/data/"
},
__key: "json"
}, {
resolve: "gatsby-transformer-json",
options: {
typeName: "Json"
}
}, {
resolve: 'gatsby-plugin-robots-txt',
options: {
host: url,
sitemap: `${url}/sitemap-index.xml`,
policy: [{userAgent: '*', allow: '/'}]
}
}]
};