-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
43 lines (42 loc) · 982 Bytes
/
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
const languages = require('./src/data/languages');
module.exports = {
siteMetadata: {
title: 'Gatsby with Contentful',
languages,
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-i18n',
options: {
langKeyForNull: 'any',
langKeyDefault: languages.defaultLangKey,
useLangKeyLayout: false,
},
},
{
resolve: 'gatsby-source-contentful',
options: {
spaceId: 'y51wy5p6m1fg',
accessToken: 'czAj0HaJEGR5Ru5plyLdMhKgkGBFMWDJF1bs7Hmyr7w',
},
},
{
resolve: 'gatsby-plugin-typography',
options: {
pathToConfigModule: 'src/utils/typography',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/images`,
},
},
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-transformer-remark',
'gatsby-plugin-material-ui',
'gatsby-plugin-sass',
],
};