-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
82 lines (81 loc) · 2.67 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
/**
* 👋 Hey there!
* This file is the starting point for your new WordPress/Gatsby site! 🚀
* For more information about what this file is and does, see
* https://www.gatsbyjs.com/docs/gatsby-config/
*
*/
const path = require(`path`)
const tailwindConfig = require("./tailwind.config.js")
module.exports = {
siteMetadata: {
title: "Scenic City Business Solutions",
author: "@bnbabu55",
description:
"Scenic City provides outsource business services including accounting outsourcing, HR outsourcing solutions, and even SEO outsourcing services in its suite of office support solutions",
siteUrl: process.env.PROJ_URL || `http://localhost:8000`,
},
flags: { PRESERVE_WEBPACK_CACHE: true },
/**
* Adding plugins to this array adds them to your Gatsby site.
*
* Gatsby has a rich ecosystem of plugins.
* If you need any more you can search here: https://www.gatsbyjs.com/plugins/
*/ plugins: [
// See https://www.gatsbyjs.com/plugins/gatsby-plugin-react-helmet/?=gatsby-plugin-react-helmet
`gatsby-plugin-react-helmet`,
/**
* We need this plugin so that it adds the "File.publicURL" to our site
* It will allow us to access static url's for assets like PDF's
*
* See https://www.gatsbyjs.org/packages/gatsby-source-filesystem/ for more info
*/
{
resolve: `gatsby-source-filesystem`,
options: {
name: `assets`,
path: `${__dirname}/src/assets`,
},
},
`gatsby-transformer-remark`,
/**
* The following two plugins are required if you want to use Gatsby image
* See https://www.gatsbyjs.com/docs/gatsby-image/#setting-up-gatsby-image
* if you're curious about it.
*/
`gatsby-plugin-image`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
// See https://www.gatsbyjs.com/plugins/gatsby-plugin-manifest/?=gatsby-plugin-manifest
resolve: `gatsby-plugin-manifest`,
options: {
name: `SMR Gatsby Site`,
short_name: `GatsbyJS & WP`,
start_url: `/`,
background_color: `#ffffff`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/assets/images/ScenicCity-Logo.png`,
icon_options: {
purpose: `any maskable`,
},
},
},
{
resolve: `gatsby-plugin-postcss`,
options: {
postCssPlugins: [
require(`tailwindcss`)(tailwindConfig),
require("autoprefixer"),
],
},
},
`gatsby-plugin-advanced-sitemap`,
`gatsby-plugin-offline`,
/**
* this (optional) plugin enables Progressive Web App + Offline functionality
* To learn more, visit: https://gatsby.dev/offline
*/
],
}