-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
90 lines (88 loc) · 2.25 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
module.exports = {
siteMetadata: {
title:`Redux`,
description: `Redux - Loans for the New to Credit`,
siteUrl:`https://www.reduxfinance.com`,
defaultImage: ``,
author: `@RedcarpetUp`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Redux`,
short_name: `Redux`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `standalone`,
icon: `src/images/rcicon.png`, // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-plugin-sass`,
options: {
precision: 8,
sourceMap: true,
loader: 'sass-resources-loader',
includePaths: [
require('path').resolve(__dirname, 'node_modules')
],
},
},
`gatsby-transformer-yaml`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/pages/`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1200,
backgroundColor: 'transparent'
},
},
{
resolve: "gatsby-remark-copy-linked-files",
options: {
// `ignoreFileExtensions` defaults to [`png`, `jpg`, `jpeg`, `bmp`, `tiff`]
// as we assume you'll use gatsby-remark-images to handle
// images in markdown as it automatically creates responsive
// versions of images.
//
// If you'd like to not use gatsby-remark-images and just copy your
// original images to the public directory, set
// `ignoreFileExtensions` to an empty array.
ignoreFileExtensions: [],
}
}
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/pages`,
},
},
// `gatsby-plugin-sitemap`,
'gatsby-plugin-offline',
],
}