-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
89 lines (89 loc) · 2.71 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
module.exports = {
siteMetadata: {
title: 'Ankit Samota',
description:
'Ankit Samota is a student developer - currently studying at NIT Rourkela - who specializes in building (and occasionally designing) modern and performant web applications.',
image: '/og.png',
twitterUsername: '@AnkitSamota3',
siteUrl: 'https://asamota.com',
author: `@incognitus`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-image`,
`gatsby-plugin-emotion`,
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /images/,
},
},
},
{
resolve: `gatsby-plugin-google-fonts`,
options: {
fonts: [
`montserrat\:300,400,500,600,700,800,900`, // you can also specify font weights and styles
`poppins\:300,400,500,600,700,800,900`, // you can also specify font weights and styles
`space grotesk\:300,400,500,600,700`,
],
display: 'swap',
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `skills`,
path: `${__dirname}/content/skills`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `projects`,
path: `${__dirname}/content/projects`,
},
},
`gatsby-transformer-remark`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-purgecss`,
options: {
printRejected: true, // Print removed selectors and processed file names
// develop: true, // Enable while using `gatsby develop`
tailwind: true, // Enable tailwindcss support
// ignore: ['/ignored.css', 'prismjs/', 'docsearch.js/'], // Ignore files/folders
// purgeOnly : ['components/', '/main.css', 'bootstrap/'], // Purge only these files/folders
purgeCSSOptions: {
// https://purgecss.com/configuration.html#options
// safelist: ['safelist'], // Don't remove this selector
},
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'Ankit Samota : Portfolio',
short_name: 'Ankit Samota',
start_url: `/`,
background_color: '#101010',
theme_color: '#F73859',
display: `minimal-ui`,
icon: `src/images/icon.png`, // This path is relative to the root of the site.
},
},
`gatsby-plugin-gatsby-cloud`,
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
`gatsby-plugin-offline`,
],
};