-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
32 lines (30 loc) · 873 Bytes
/
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
const resolveConfig = require("tailwindcss/resolveConfig")
const tailwindConfig = require("./tailwind.config.js")
const { theme } = resolveConfig(tailwindConfig)
module.exports = {
siteMetadata: {
title: "Energi Latest Block Explorer",
author: "Kent Nguyen",
description: "A demo app for exploring latest Energi block",
},
plugins: [
"gatsby-plugin-react-helmet",
{
resolve: "gatsby-plugin-manifest",
options: {
name: "Gatsby Starter Tailwind CSS",
short_name: "Gatsby Starter Tailwind CSS",
start_url: "/",
background_color: theme.colors.white,
theme_color: theme.colors.teal[500],
icon: "static/icon.svg",
},
},
{
resolve: "gatsby-plugin-postcss",
options: {
postCssPlugins: [require("tailwindcss"), require("autoprefixer")],
},
},
],
}