-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
45 lines (41 loc) · 1009 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
33
34
35
36
37
38
39
40
41
42
43
44
45
require('dotenv').config()
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/
*/
/**
* @type {import('gatsby').GatsbyConfig}
*/
const strapiConfig = {
apiURL: process.env.REACT_APP_STRAPI_API_URL,
accessToken: process.env.REACT_APP_STRAPI_TOKEN,
collectionTypes: [`job`,`project`,`blog`],
singleTypes: [`about`]
};
module.exports = {
plugins: [
`gatsby-transformer-remark`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-image`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `assets`,
path: `${__dirname}/src/assets/`,
},
},
{
resolve: `gatsby-source-strapi`,
options: strapiConfig
},
],
siteMetadata: {
title: "WebDev Portfolio",
description: "This is WebDev Portfolio Site",
copyright: 'this website is copyright 2021 Web Dev',
author: "@webdev",
contact: 'me@thewebdevpk.com'
}
}