-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
87 lines (84 loc) · 2.06 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
siteMetadata: {
title: `Gatsby Typescript Starter`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-typescript`,
`gatsby-transformer-json`,
`gatsby-plugin-styled-components`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/data/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./src/images/`,
},
},
{
resolve: `gatsby-plugin-prefetch-google-fonts`,
options: {
fonts: [
{
family: `Hind`,
variants: [`400`, `500`, `600`, `700`],
},
],
},
},
{
resolve: "gatsby-plugin-sentry",
options: {
dsn: process.env.SENTRY_DSN,
environment: process.env.NODE_ENV,
// enabled: (() => ["production", "stage"].indexOf(process.env.NODE_ENV) !== -1)()
},
},
{
resolve: `gatsby-plugin-favicon`,
options: {
logo: "./src/images/favicon.png",
// WebApp Manifest Configuration
appName: "boxshadows.co", // Inferred with your package.json
appDescription: "Collection of CSS box shadows for your next project",
developerName: "Luke Brown",
developerURL: "https://lukebrown.io",
dir: "auto",
lang: "en-US",
background: "#fff",
theme_color: "#fff",
display: "standalone",
orientation: "any",
start_url: "/",
version: "1.0",
icons: {
android: true,
appleIcon: true,
appleStartup: true,
coast: false,
favicons: true,
firefox: true,
yandex: false,
windows: false,
},
},
}
// {
// resolve: `gatsby-plugin-graphql-codegen`,
// options: {
// fileName: `src/types/graphql.ts`,
// codegen: true,
// codegenDelay: 250,
// }
// }
],
}