-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
88 lines (88 loc) · 2.41 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
module.exports = {
siteMetadata: {
title: 'Feelo',
lang: 'it',
siteUrl: 'https://michelebruno.github.io/feelo/',
description: 'L’app pensata per affrontare i Disturbi Alimentari insieme a chi ti vuole bene.',
},
pathPrefix: '/feelo',
plugins: [
'gatsby-plugin-sass',
'gatsby-plugin-image',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Feelo',
short_name: 'Feelo',
start_url: '/',
background_color: '#6852F5',
theme_color: '#6852F5',
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
// see https://developers.google.com/web/fundamentals/web-app-manifest/#display
display: 'standalone',
icon: 'src/images/favicon.png', // This path is relative to the root of the site.
// An optional attribute which provides support for CORS check.
// If you do not provide a crossOrigin option, it will skip CORS for manifest.
// Any invalid keyword or empty string defaults to `anonymous`
// crossOrigin: 'use-credentials',
},
},
{
resolve: 'gatsby-plugin-sharp',
options: {
defaults: {
placeholder: 'blurred',
quality: 80,
},
},
},
'gatsby-transformer-sharp',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: './src/images/',
},
__key: 'images',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'mockups',
path: './src/mockups/',
},
__key: 'mockups',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: './src/data/',
},
},
'gatsby-transformer-csv',
{
resolve: 'gatsby-plugin-svgr',
options: {
prettier: true, // use prettier to format JS code output (default)
svgo: true, // use svgo to optimize SVGs (default)
svgoConfig: {
plugins: [
{ removeViewBox: true }, // remove viewBox when possible (default)
{ cleanupIDs: false }, // remove unused IDs and minify remaining IDs (default)
],
},
},
},
{
resolve: 'gatsby-plugin-web-font-loader',
options: {
typekit: {
id: 'kai1avr',
},
},
},
],
};