-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
149 lines (148 loc) · 3.54 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
const path = require('path');
module.exports = {
siteMetadata: {
title: `León Alvarez Del Canto | Fullstack Developer`,
description: `León Alvarez Del Canto`,
author: `León`,
authorFullName: `León Alvarez Del Canto`,
siteUrl: `https://ladc.dev`,
social: {
Github: `LeonAlvarez`,
Twitter: `LeonAlvarez_`,
Telegram: `leondesign`,
Email: `[email protected]`,
Linkedin: `leon-alvarez-del-canto`
},
authorBasedIn: `Malta`
},
plugins: [
`gatsby-plugin-react-helmet`,
'gatsby-plugin-catch-links',
'gatsby-plugin-webpack-bundle-analyzer',
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
'gatsby-plugin-sitemap',
{
resolve: `gatsby-plugin-webfonts`,
options: {
fonts: {
google: [
{
family: "Poppins",
variants: ["100", "300", "400", "500"],
},
{
family: "Inconsolata",
variants: ["400", "700"],
},
{
family: "Ubuntu",
variants: ["400", "700"],
},
],
},
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
'gatsby-remark-autolink-headers',
{
resolve: 'gatsby-remark-prismjs',
options: {
showLineNumbers: true,
},
},
'gatsby-remark-external-links',
],
},
},
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/content`,
name: 'pages',
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
'gatsby-remark-autolink-headers',
{
resolve: 'gatsby-remark-prismjs',
options: {
showLineNumbers: true,
},
},
{
resolve: 'gatsby-remark-external-links',
},
],
},
},
{
resolve: `gatsby-plugin-styled-components`,
options: {
// Add any options here
},
},
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-sentry',
options: {
dsn: 'https://[email protected]/5328680',
enabled: (() => ["production", "stage"].includes(process.env.NODE_ENV))()
},
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
configFile: path.join(
__dirname,
'robots-txt.config.js'
),
},
},
'gatsby-plugin-nprogress',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: "León Alvarez Del Canto | Fullstack Developer",
short_name: 'Ladc',
start_url: '/',
background_color: '#ededed',
theme_color: '#384f7c',
display: 'standalone',
icons: [
{
src: '/favicons/192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: '/favicons/512x512.png',
sizes: '512x512',
type: 'image/png',
},
],
},
},
'gatsby-plugin-offline', // put this after gatsby-plugin-manifest
'gatsby-plugin-netlify', // make sure to put last in the array
],
}