Repository navigation
Expand file tree
/
Copy pathgatsby-config.js
More file actions
75 lines (73 loc) · 1.67 KB
/
Copy pathgatsby-config.js
File metadata and controls
75 lines (73 loc) · 1.67 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
require('dotenv').config({
path: '.env',
})
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`,
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
author: `@gatsbyjs`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Coding Bunker Website`,
short_name: `Coding Bunker`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`,
},
},
// Da vedere se e come integrare le PWA
// `gatsby-plugin-offline`,
{
resolve: `gatsby-source-datocms`,
options: {
previewMode: false,
disableLiveReload: false,
apiToken: process.env.DATO_CMS_API_KEY,
},
},
'gatsby-plugin-sass',
{
resolve: 'gatsby-plugin-typography',
options: {
pathToConfigModule: 'src/utils/typography.js',
},
},
'gatsby-plugin-fontawesome-css',
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [],
},
},
{
resolve: 'gatsby-plugin-react-leaflet',
options: {
linkStyles: true, // (default: true) Enable/disable loading stylesheets via CDN
},
},
`gatsby-plugin-mdx`,
{
resolve: `gatsby-source-codingbunker`,
options: {
apiKey: process.env.BACKEND_API_KEY,
apiEndpoint: 'https://coding-bunker-dev.herokuapp.com/',
},
},
`gatsby-plugin-typescript`,
],
}