-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathgatsby-config.js
109 lines (107 loc) · 3.08 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
require('dotenv').config()
module.exports = {
siteMetadata: {
defaultTitle: `Memex by WorldBrain`,
titleTemplate: ``,
defaultDescription: `Eliminate time spent bookmarking, retracing steps to recall a webpage, or copy-pasting notes into scattered documents.`,
twitterUsername: `@worldbrain`,
siteUrl: `https://worldbrain.io/`,
defaultImage: `https://worldbrain.io/icons/icon-270x270.png`,
},
pathPrefix: '/gatsby-starter-blog',
plugins: [
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `img`,
path: `./src/img/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `./common/src/data/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `common`,
path: `./common/src/assets/`,
},
},
{
resolve: `gatsby-plugin-styled-components`,
options: {
minify: false, // Breaks styles if not set to false
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Memex by worldbrain.io`,
short_name: `Memex`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/assets/logo.png`,
},
},
{
resolve: 'gatsby-plugin-crisp-chat',
options: {
websiteId: '05013744-c145-49c2-9c84-bfb682316599',
enableDuringDevelop: false, // Optional. Disables Crisp Chat during gatsby develop. Defaults to true.
defer: true, // Optional. Sets the Crisp loading script to defer instead of async. Defaults to false.
},
},
`gatsby-plugin-react-helmet`,
// {
// resolve: 'gatsby-plugin-robots-txt',
// options: {
// host: 'https://worldbrain.io',
// sitemap: 'https://worldbrain.io/sitemap.xml',
// policy: [
// { userAgent: '*', allow: '/' },
// { userAgent: 'Baiduspider', disallow: ['/'] },
// { userAgent: 'YandexBot', disallow: ['/'] },
// { userAgent: 'Sogou', disallow: ['/'] },
// { userAgent: 'Exabot', disallow: ['/'] },
// { userAgent: 'AhrefsBot', disallow: ['/'] },
// { userAgent: 'BLEXBot', disallow: ['/'] },
// { userAgent: 'ia_archiver', disallow: ['/'] },
// ],
// },
// },
{
resolve: 'gatsby-plugin-mailchimp',
options: {
endpoint:
'https://worldbrain.us9.list-manage.com/subscribe/post?u=de9ed6b3382658d5ebebfe2a4&id=f1b887a214',
},
},
'gatsby-plugin-typescript',
// 'gatsby-plugin-postcss',
'gatsby-plugin-sass',
/*{
resolve: 'gatsby-plugin-typography',
options: {
pathToConfigModule: 'src/utils/typography',
},
},*/
//'gatsby-plugin-layout'
`gatsby-plugin-offline`,
],
}