forked from sparkdesignsystem/spark-design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
115 lines (114 loc) · 3.23 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
module.exports = {
siteMetadata: {
title: 'Spark Design System',
description: 'Spark Design System is a system of patterns and components '
+ 'used to create the user interface for the Quicken Loans family of '
+ 'Fintech products.',
author: '@sparkQL',
},
plugins: [
{
resolve: 'gatsby-plugin-manifest',
options: {
icon: 'src/images/spark-logo.svg',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'src/pages/homepage',
name: 'homepage-pages',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'src/data/',
name: 'data',
},
},
{
resolve: 'gatsby-transformer-json',
options: {
path: 'src/data/',
name: 'data',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'src/pages/installing-spark',
name: 'installing-spark-pages',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'src/pages/installing-spark.mdx',
name: 'installing-spark-page',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'src/pages/principles',
name: 'principles-pages',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'src/pages/using-spark',
name: 'using-spark-pages',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: 'src/pages/using-spark.mdx',
name: 'using-spark-page',
},
},
'gatsby-plugin-sass',
{
resolve: 'gatsby-symbol-set-fetch',
options: {
url: 'https://www.rockomni.com/mcds/assets/GlobalContent/NonStockImages'
+ '/Icons/spark-core-icons-V10.svg',
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
defaultLayouts: {
'homepage-pages': require.resolve('./src/components/layouts/HomepageLayout.js'),
'installing-spark-pages': require.resolve('./src/components/layouts/InstallingSparkLayout.js'),
'installing-spark-page': require.resolve('./src/components/layouts/InstallingSparkLayout.js'),
'using-spark-pages': require.resolve('./src/components/layouts/UsingSparkLayout.js'),
'using-spark-page': require.resolve('./src/components/layouts/UsingSparkLayout.js'),
'principles-pages': require.resolve('./src/components/layouts/PrinciplesLayout.js'),
default: require.resolve('./src/components/layouts/Layout.js'),
},
},
},
{
resolve: 'gatsby-plugin-postcss',
options: {
postCssPlugins: [require('postcss-preset-env')({ stage: 0 })],
},
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
// The property ID; the tracking code won't be generated without it
trackingId: 'UA-113915182-1',
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: false,
// Setting this parameter is also optional
respectDNT: true,
// Delays sending pageview hits on route update (in milliseconds)
pageTransitionDelay: 0,
},
},
],
};