-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.ts
34 lines (31 loc) · 898 Bytes
/
gatsby-config.ts
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
import type { GatsbyConfig } from 'gatsby';
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`
});
const config: GatsbyConfig = {
siteMetadata: {
title: `leemir-portfolio`,
siteUrl: `https://www.yourdomain.tld`
},
plugins: ["gatsby-plugin-netlify-cms", "gatsby-plugin-styled-components", {
resolve: 'gatsby-plugin-google-analytics',
options: {
"trackingId": "G-YFH4Y7D39N"
}
}, "gatsby-plugin-image", "gatsby-plugin-react-helmet", "gatsby-plugin-sitemap", "gatsby-plugin-mdx", "gatsby-plugin-sharp", "gatsby-transformer-sharp", {
resolve: 'gatsby-source-filesystem',
options: {
"name": "images",
"path": "./src/assets/images/"
},
__key: "images"
}, {
resolve: 'gatsby-source-filesystem',
options: {
"name": "pages",
"path": "./src/pages/"
},
__key: "pages"
}]
};
export default config;