-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
55 lines (54 loc) · 1.18 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
52
53
54
55
const siteConfig = require('./site-config');
module.exports = {
siteMetadata: {
...siteConfig,
},
plugins: [
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-transformer-remark',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/content/images`,
},
},
'gatsby-plugin-react-helmet',
'gatsby-plugin-sitemap',
'gatsby-plugin-offline',
'gatsby-transformer-json',
'gatsby-plugin-eslint',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'content',
path: `${__dirname}/content`,
},
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://www.alexgaudiosi.com',
sitemap: 'https://www.alexgaudiosi.com/sitemap.xml',
env: {
production: {
policy: [{ userAgent: '*', allow: '/' }],
},
},
},
},
'gatsby-plugin-webpack-size',
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /images\/.*\.svg$/,
},
},
},
],
};