This repository has been archived by the owner on Mar 22, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
70 lines (69 loc) · 1.58 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
const path = require(`path`)
module.exports = {
siteMetadata: {
title: `Rails.fm`,
siteUrl: `https://rails.fm`,
description: `Listen to news, interviews, and discussions about Ruby & Rails.`,
},
plugins: [
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `rails.fm`,
short_name: `rails.fm`,
start_url: `/`,
background_color: `#dfdfdf`,
theme_color: `#BD003D`,
display: `minimal-ui`,
icon: `src/assets/images/favicon.png`,
},
},
{
resolve: `gatsby-plugin-react-svg`,
options: {
rule: {
include: path.resolve(__dirname, `src/assets/svg`),
},
},
},
{
resolve: `gatsby-plugin-nprogress`,
options: {
color: `#BD003D`,
showSpinner: false,
},
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-typescript`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sitemap`,
`gatsby-transformer-json`,
{
resolve: 'gatsby-source-filesystem',
options: {
name: `data`,
path: `${__dirname}/src/data/`,
},
},
{
resolve: 'gatsby-plugin-postcss',
options: {
postCssPlugins: [
require(`tailwindcss`)(`./tailwind.config.js`),
require(`autoprefixer`),
require(`cssnano`),
],
},
},
{
resolve: `gatsby-plugin-purgecss`,
options: {
tailwind: true,
purgeOnly: [`src/css/style.css`],
whitelist: [`h-48`],
},
},
`gatsby-plugin-offline`,
],
}