-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.ts
43 lines (41 loc) · 996 Bytes
/
gatsby-config.ts
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
import { GatsbyConfig } from 'gatsby'
const config: GatsbyConfig = {
siteMetadata: {
title: `My Gatsby Site`,
siteUrl: `https://www.yourdomain.tld`,
},
graphqlTypegen: false,
plugins: [
{
resolve: 'gatsby-plugin-google-fonts',
options: {
fonts: [`JetBrains Mono\:400,700`, `Roboto:400,700,900`],
display: 'swap',
},
},
'gatsby-plugin-styled-components',
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: "gatsby-plugin-intl",
options: {
path: `${__dirname}/src/shared/translations`,
languages: ["en", "ru"],
defaultLanguage: "en",
fallbackLanguage: "en",
redirect: true,
redirectDefaultLanguageToRoot: false,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/shared/static/',
},
__key: 'images',
},
],
}
export default config