-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathgatsby-config.ts
89 lines (86 loc) · 2.61 KB
/
gatsby-config.ts
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
import { GatsbyConfig } from 'gatsby';
// eslint-disable-next-line @typescript-eslint/no-var-requires
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
const config: GatsbyConfig = {
siteMetadata: {
title:
'ReportPortal test automation analytics platform and real-time reporting, powered by Machine Learning',
titlePS: 'ReportPortal',
description:
'Centralized test automation dashboard. Provides AI-based defects triage and real time test report dashboard.',
keywords:
'test automation dashboard, test automation reporting, qa automation dashboard, test automation results dashboard, test report dashboard, qa metrics dashboard, test execution report, end to end testing reporting tools, ReportPortal installation, ReportPortal integration, ReportPortal dashboard',
siteUrl: 'https://reportportal.io',
image: 'https://reportportal.io/favicon.ico',
previewImage: 'https://reportportal.io/preview.png',
siteName: 'ReportPortal | AI-powered Test Automaton Dashboard',
},
plugins: [
'gatsby-plugin-svgr-svgo',
'gatsby-plugin-sass',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: 'gatsby-plugin-webpack-bundle-analyser-v2',
options: {
disable: process.env.ANALYSE_BUNDLE !== 'true',
},
},
'gatsby-plugin-image',
{
resolve: 'gatsby-source-contentful',
options: {
spaceId: process.env.CONTENTFUL_SPACE_ID,
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
environment: process.env.CONTENTFUL_ENV_ID,
host: process.env.CONTENTFUL_HOST,
},
},
{
resolve: 'gatsby-plugin-google-tagmanager',
options: {
id: process.env.GTM_ID,
},
},
{
resolve: 'gatsby-plugin-sitemap',
options: {
excludes: [
'/contact-us/taas',
'/contact-us/taaas',
'/contact-us/qe-consulting',
'/contact-us/saas/**',
'/contact-us/on-premises/**',
'/contact-us/qasp',
'/contact-us/d4j',
'/contact-us/hlm',
'/contact-us/qasp/**',
'/contact-us/d4j/**',
'/contact-us/hlm/**',
],
query: `{
site {
siteMetadata {
siteUrl
}
}
allSitePage {
nodes {
path
}
}
}`,
serialize: ({ path }: { path: string }) => {
return {
url: path,
};
},
},
},
],
trailingSlash: 'never',
};
// eslint-disable-next-line import/no-default-export
export default config;