-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
43 lines (42 loc) · 1.06 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
const path = require('path');
module.exports = {
siteMetadata: {
title: `Machival`,
siteUrl: `https://localhost`,
description: `A minimal Gatsby starter in typescript and styled components`,
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-typescript',
'gatsby-plugin-styled-components',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'gatsby-typescript-starter',
short_name: 'gatsby-typescript-starter',
start_url: '/',
background_color: '#404040',
theme_color: '#404040',
display: 'minimal-ui',
icon: 'src/assets/images/favicon.png',
},
},
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: path.resolve(__dirname, 'src/assets/svg'),
},
},
},
{
resolve: 'gatsby-plugin-layout',
options: {
component: require.resolve('./src/components/RootLayout.tsx'),
},
},
`gatsby-plugin-offline`,
],
};