-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
87 lines (87 loc) · 2.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* eslint-disable @typescript-eslint/camelcase */
module.exports = {
siteMetadata: {
title: 'Material UI Kit - Complete set of Material UI Elements for Figma',
description:
'Design Material UI components faster using ready-made styles and assets. Customize everything with all elements and styles available for free.',
author: 'CodersCrew',
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Material UI Kit - Complete set of Material UI Elements for Figma',
description:
'Design Material UI components faster using ready-made styles and assets. Customize everything with all elements and styles available for free.',
short_name: 'Material UI Kit',
start_url: '/',
background_color: '#2196F3',
theme_color: '#2196F3',
display: 'minimal-ui',
icon: 'src/images/favicon-light.png',
},
},
'gatsby-plugin-typescript',
{
resolve: 'gatsby-plugin-material-ui',
options: {
disableAutoprefixing: false,
disableMinification: false,
},
},
{
resolve: 'gatsby-plugin-intl',
options: {
path: `${__dirname}/src/translations`,
languages: ['en', 'pl'],
defaultLanguage: 'en',
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /images\/svg/,
},
},
},
{
resolve: 'gatsby-plugin-google-fonts',
options: {
fonts: ['Roboto:300,400,500,700'],
display: 'swap',
},
},
'gatsby-plugin-netlify',
{
resolve: 'gatsby-plugin-google-tagmanager',
options: {
id: 'GTM-N7NRHLV',
// Include GTM in development.
// Defaults to false meaning GTM will only be loaded in production.
includeInDevelopment: false,
// datalayer to be set before GTM is loaded
// should be an object or a function that is executed in the browser
// Defaults to null
defaultDataLayer: { platform: 'gatsby' },
// Specify optional GTM environment details.
gtmAuth: '4eom7VJmf7OkVTqdJ5zeXQ',
gtmPreview: 'env-1',
dataLayerName: 'MaterialUIKIT',
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
};