-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
67 lines (65 loc) · 1.53 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
63
64
65
66
67
const path = require("path");
if (process.env.NODE_ENV === "development") {
require("dotenv").config();
}
module.exports = {
siteMetadata: {
title: `Valeur`,
description: `Valeur - мастерская.`,
},
plugins: [
{
resolve: `gatsby-plugin-sass`,
options: {
cssLoaderOptions: {
camelCase: false,
},
},
},
{
resolve: "gatsby-plugin-web-font-loader",
options: {
google: {
families: [
"Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700",
"Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1",
],
},
},
},
`gatsby-plugin-portal`,
`gatsby-transformer-remark`,
`gatsby-plugin-transition-link`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-smoothscroll`,
{
resolve: `source-instagram`,
options: {},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: path.join(__dirname, `src`, `assets`, `images`),
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
useNameForId: false,
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /assets/,
},
},
},
],
};