-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
67 lines (64 loc) · 1.62 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
const path = require(`path`);
const resolveConfig = require("tailwindcss/resolveConfig");
const tailwindConfig = require("./tailwind.config.js");
const fullConfig = resolveConfig(tailwindConfig);
module.exports = {
siteMetadata: {
title: `Monta Vista Model United Nations`,
description: `Monta Vista Model United Nations Club Website`,
author: `@jeffreymeng`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
ignore: [`**/\.*`], // ignore files starting with a dot
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-eslint`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `montavistamun`,
short_name: `mvmun`,
start_url: `/`,
display: `minimal-ui`,
icon: `static/images/favicons/android-chrome-512x512.png`,
},
},
`gatsby-plugin-postcss`,
{
resolve: `gatsby-plugin-typegen`,
options: {
outputPath: `src/__generated__/gatsby-types.d.ts`,
},
},
{
resolve: `@sentry/gatsby`,
options: {
dsn:
"https://[email protected]/5400669",
environment: process.env.NODE_ENV,
enabled: (() =>
["production", "stage"].indexOf(process.env.NODE_ENV) !==
-1)(),
},
},
{
resolve: "gatsby-plugin-heap",
options: {
appId:
["production", "stage"].indexOf(process.env.NODE_ENV) !== -1
? "802409435"
: "1872368537",
enableOnDevMode: true, // if 'false', heap will be fired on NODE_ENV=production only
},
},
// `gatsby-plugin-offline`,
],
};