-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
37 lines (36 loc) · 1010 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
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
plugins: [
"gatsby-plugin-styled-components",
"gatsby-plugin-react-helmet",
"gatsby-plugin-image",
`gatsby-plugin-sass`,
{
resolve: "gatsby-source-prismic",
options: {
repositoryName: `envision`,
accessToken: process.env.PRISMIC_KEY,
schemas: {
homepage: require("./schemas/homepage.json"),
about: require("./schemas/about.json"),
portfolio: require("./schemas/portfolio.json"),
cohort: require("./schemas/cohort.json"),
partners_page: require("./schemas/partners.json"),
team_page: require("./schemas/team_page.json"),
accelerator: require("./schemas/accelerator.json"),
apply: require("./schemas/apply.json"),
},
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /svg/,
},
},
},
],
};