-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
45 lines (43 loc) · 1.43 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
plugins: [
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
{
resolve: "gatsby-source-prismic",
options: {
// The name of your prismic.io repository. This is required.
// Example: 'gatsby-source-prismic-test-site' if your prismic.io address
// is 'gatsby-source-prismic-test-site.prismic.io'.
repositoryName: "power-house",
schemas: {
// all the schemas here
test: require("./src/schemas/test.json"),
process: require("./src/schemas/process.json"),
Contact: require("./src/schemas/Contact.json"),
faq: require("./src/schemas/faq.json"),
product_page: require("./src/schemas/product_page.json"),
product: require("./src/schemas/product.json"),
homepage: require("./src/schemas/Homepage.json"),
use_cases_page: require("./src/schemas/use_cases_page.json"),
use_case: require("./src/schemas/use_case.json"),
About: require("./src/schemas/About.json"),
},
typePathsFilenamePrefix: "prismic-typepaths---powerhouse-site",
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /vectors/, // See below to configure properly
},
},
},
],
}