-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
42 lines (42 loc) · 1.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
module.exports = {
plugins: [
'gatsby-plugin-meta-redirect',
'gatsby-plugin-styled-components',
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-eslint',
options: {
test: /\.js$|\.jsx$/,
exclude: /(node_modules|cache|public)/,
options: {
emitWarning: true,
failOnError: false,
},
},
},
{
resolve: 'gatsby-plugin-yandex-metrika',
options: {
trackingId: 31411338,
clickmap: true,
webvisor: true,
trackHash: true,
},
},
{
resolve: 'gatsby-plugin-sentry',
options: {
dsn: 'https://[email protected]/1355419',
// Optional settings, see https://docs.sentry.io/clients/node/config/#optional-settings
environment: process.env.NODE_ENV,
enabled: (() => ['production', 'stage'].indexOf(process.env.NODE_ENV) !== -1)(),
},
},
'gatsby-plugin-offline',
],
siteMetadata: {
title: 'Urbica',
description: 'description',
},
pathPrefix: '/',
};