-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
executable file
·38 lines (37 loc) · 983 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
const path = require('path')
module.exports = {
siteMetadata: {
title: `Yousef Abu-Salah`,
},
plugins: [
{
resolve: 'gatsby-plugin-root-import',
options: {
src: path.join(__dirname, 'src'),
components: path.join(__dirname, 'src/components'),
fonts: path.join(__dirname, 'src/fonts'),
img: path.join(__dirname, 'src/img'),
layouts: path.join(__dirname, 'src/layouts'),
pages: path.join(__dirname, 'src/pages'),
styles: path.join(__dirname, 'src/styles'),
utils: path.join(__dirname, 'src/utils'),
},
},
`gatsby-transformer-sharp`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/img`
}
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-107072121-1',
},
},
],
}