-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.ts
More file actions
118 lines (116 loc) · 3.02 KB
/
gatsby-config.ts
File metadata and controls
118 lines (116 loc) · 3.02 KB
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
116
117
118
import type { GatsbyConfig } from "gatsby";
const config: GatsbyConfig = {
siteMetadata: {
title: `Sai Nimmagadda`,
siteUrl: `https://s11a.com`,
description: `Full-stack engineer focused on healthcare, developer experience, and scalable systems.`,
author: `@FunSaized`,
},
plugins: [
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content`,
path: `${__dirname}/src/content/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/static/images/`,
},
},
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.md`, `.mdx`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1200,
quality: 90,
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: "language-",
inlineCodeMarker: null,
aliases: {
sh: "bash",
js: "javascript",
ts: "typescript",
yml: "yaml",
},
showLineNumbers: true,
noInlineHighlight: false,
languageExtensions: [
{
language: "superscript",
extend: "javascript",
definition: {
superscript_types: /(SuperType)/,
},
insertBefore: {
function: {
superscript_keywords: /(superif|superelse)/,
},
},
},
],
prompt: {
user: "root",
host: "localhost",
global: false,
},
escapeEntities: {},
},
},
],
},
},
`gatsby-plugin-sitemap`,
`gatsby-plugin-robots-txt`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `s11a.com - Sai Nimmagadda`,
short_name: `s11a`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#000000`,
display: `minimal-ui`,
icon: `static/images/face.png`,
cache_busting_mode: "none",
},
},
{
resolve: `gatsby-plugin-webpack-bundle-analyser-v2`,
options: {
devMode: false,
analyzerMode: "static",
reportFilename: "bundle-analyzer-report.html",
},
},
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: [
"GA_MEASUREMENT_ID", // Replace with actual Google Analytics 4 ID
],
pluginConfig: {
head: false,
respectDNT: true,
exclude: ["/admin/**", "/do-not-track/me/too/"],
},
},
},
`gatsby-plugin-offline`,
],
};
export default config;