-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.js
More file actions
51 lines (49 loc) · 1.24 KB
/
gatsby-config.js
File metadata and controls
51 lines (49 loc) · 1.24 KB
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
//#########: CONFIGURATION :#########//
// get .env
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
/*** SITE METADATA ***/
siteMetadata: {
title: `Earth slow`,
description: `Earth Slow is a travelling agency that 's provide cheap travelling plans around the world.`,
author: `@salihcodev`,
},
/*** PLUGINS ***/
plugins: [
{
resolve: 'gatsby-plugin-sass',
options: {
useResolveUrlLoader: {
options: {
sourceMap: true,
},
},
},
}, // sass
{
resolve: `gatsby-plugin-styled-components`,
options: {},
}, // gatsby-styled-component
{
resolve: `gatsby-source-filesystem`,
options: {
name: `assets`,
path: `${__dirname}/src/assets/`,
ignore: [`**/\.*`], // ignore files starting with a dot
},
}, // source filesystem
{
resolve: `gatsby-source-contentful`,
options: {
spaceId: process.env.GATSBY_CONTENTFUL_SPACE_ID,
accessToken: process.env.GATSBY_CONTENTFUL_ACCESS_TOKEN,
},
}, // contentful
`gatsby-plugin-transition-link`,
`gatsby-plugin-playground`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
],
};