This repository has been archived by the owner on Aug 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
56 lines (56 loc) · 1.45 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
module.exports = {
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'content',
path: `${__dirname}/content/`,
ignore: ['**/.*'], // ignore files starting with a dot
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images/`,
ignore: ['**/.*'], // ignore files starting with a dot
},
},
'gatsby-transformer-json',
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: ['gatsby-remark-smartypants'],
},
},
'gatsby-remark-reading-time',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Kabir Goel',
short_name: 'Kabir Goel',
start_url: '/',
background_color: '#bb27ad',
theme_color: '#bb27ad',
display: 'minimal-ui',
icon: 'static/favicon.png', // This path is relative to the root of the site.
},
},
'gatsby-plugin-offline',
'gatsby-plugin-theme-ui',
{
resolve: 'gatsby-plugin-build-date',
options: {
formatAsDateString: true,
formatting: {
format: 'MMM D, YYYY', // string, defaults to "MM/DD/YYYY" - pass in any acceptable date-and-time format
utc: true,
},
},
},
],
}