-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
60 lines (59 loc) · 1.39 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
module.exports = {
siteMetadata: {
title: `Coronavírus Brasil`,
description: `Demonstrar dados do coronavírus no Brasil`,
author: `@zomervinicius`
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Coronavírus Brasil`,
short_name: `Coronavírus Brasil`,
start_url: `/`,
background_color: `#000000`,
theme_color: `#f44336`,
display: `minimal-ui`,
icon: `src/images/coronavirusImg.png`
}
},
{
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`]
}
},
`gatsby-plugin-offline`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// The property ID; the tracking code won't be generated without it
trackingId: "UA-161038624-1"
}
},
{
resolve: "gatsby-plugin-eslint",
options: {
test: /\.js$|\.jsx$/,
exclude: /(node_modules|cache|public)/,
options: {
emitWarning: true,
failOnError: false
}
}
},
`gatsby-plugin-less`
]
}