-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
62 lines (61 loc) · 1.59 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
56
57
58
59
60
61
62
const browserslist = require('browserslist')
const autoprefixer = require('autoprefixer')
module.exports = {
siteMetadata: {
title: 'Datenguide',
siteUrl: 'https://datengui.de',
defaultImage: '/images/social_meta.png',
twitterAccount: '@datenguide',
description:
'Der Datenguide hilft dir dabei, dich im Dschungel der Statistiken zurecht zu finden.',
dataCredits: {
publisher: 'Quelle: Statistische Ämter des Bundes und der Länder',
licenseTitle: 'Datenlizenz Deutschland Namensnennung 2.0',
licenseUrl: 'https://www.govdata.de/dl-de/by-2-0'
}
},
plugins: [
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
'gatsby-remark-copy-linked-files',
`gatsby-remark-prismjs`,
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 725,
quality: 65
}
}
]
}
},
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'src',
path: `${__dirname}/src/`
}
},
// {
// resolve: 'gatsby-source-graphql',
// options: {
// typeName: 'Datenguide',
// fieldName: 'datenguide',
// url: 'https://api.genesapi.org/'
// }
// },
{
resolve: 'gatsby-plugin-sass',
options: {
includePaths: ['./node_modules'],
postCssPlugins: [autoprefixer({ browsers: browserslist() })]
}
},
'gatsby-plugin-netlify'
]
}