-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
58 lines (55 loc) · 1.33 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
const activeEnv = process.env.GATSBY_ACTIVE_ENV || process.env.NODE_ENV || "development"
require("dotenv").config({
path: `.env.${activeEnv}`,
})
module.exports = {
siteMetadata: {
title: `Chyba Ty Tattoo`,
description: `Chyba Ty Tattoo`,
author: `@gatsbyjs`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-scroll-reveal`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: 'gatsby-plugin-anchor-links',
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Chyba Ty Tattoo`,
short_name: `Chyba Ty`,
start_url: `/`,
background_color: `#000000`,
theme_color: `#D3D3D3`,
display: `minimal-ui`,
icon: `src/images/logo.png`, // This path is relative to the root of the site.
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /\inline\.svg/ // See below to configure properly
}
}
},
{
resolve: 'gatsby-plugin-web-font-loader',
options: {
google: {
families: ['Unica One', 'Exo 2', 'Montserrat']
}
}
}
],
}