-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
38 lines (36 loc) · 882 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
plugins: [
{
resolve: "gatsby-source-magento2",
options: {
graphqlEndpoint: "http://demo-m2.bird.eu/graphql"
}
},
{
resolve: `gatsby-plugin-sharp`,
options: {
// Available options and their defaults:
base64Width: 20,
forceBase64Format: `png`, // valid formats: png,jpg,webp
useMozJpeg: process.env.GATSBY_JPEG_ENCODER === `MOZJPEG`,
stripMetadata: true,
defaultQuality: 50,
failOnError: true,
},
},
{
resolve: `gatsby-plugin-styled-components`,
options: {
},
},
`gatsby-plugin-typography`,
`gatsby-transformer-sharp`,
`gatsby-plugin-fontawesome-css`
],
}