-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathgatsby-config.js
56 lines (53 loc) · 1.29 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
46
47
48
49
50
51
52
53
54
55
56
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
const themePath = require('./theme-path');
module.exports = {
siteMetadata: {
title: 'Gatsby Default Starter',
},
plugins: [
'gatsby-plugin-stripe-elements',
'gatsby-plugin-react-helmet',
'gatsby-plugin-react-next',
'gatsby-plugin-styled-components',
{
resolve: 'gatsby-shopify-source',
options: {
shopName: process.env.SHOPIFY_STORE_NAME,
accessToken: process.env.SHOPIFY_STORE_ACCESS_TOKEN,
verbose: true,
},
},
{
resolve: 'gatsby-plugin-sass',
options: {
precision: 8,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'img',
path: `${themePath}/assets/images`,
},
},
// {
// resolve: 'gatsby-plugin-manifest',
// options: {
// name: 'Growfit PWA',
// short_name: 'Growfit PWA',
// description: 'Ecommerce App',
// start_url: '/',
// display: 'standalone',
// icon: `${themePath}/images/512.png`,
// theme_color: '#ffffff',
// background_color: '#57A3E8',
// },
// },
'gatsby-plugin-offline',
'gatsby-plugin-netlify',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
],
};