forked from gatsbyjs/store.gatsbyjs.org
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
44 lines (43 loc) · 1.04 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
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`
});
module.exports = {
siteMetadata: {
siteUrl: 'https://store.egghead.io',
title: 'the egghead.io swag store',
description: 'Buy egghead swag.'
},
plugins: [
{
resolve: `gatsby-plugin-layout`,
options: {
component: require.resolve(`./src/components/Layout/`)
}
},
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-plugin-image',
{
resolve: 'gatsby-source-shopify',
options: {
storeUrl: process.env.SHOPIFY_STORE_NAME,
password: process.env.SHOPIFY_ADMIN_PASSWORD
}
},
'gatsby-plugin-react-helmet',
'gatsby-plugin-emotion',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'egghead Store',
short_name: 'egghead Store',
start_url: '/',
background_color: '#ffffff',
theme_color: '#663399',
display: 'minimal-ui',
icon: 'static/android-chrome-512x512.png'
}
},
'gatsby-plugin-offline'
]
};