-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.ts
45 lines (41 loc) · 1.18 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
import type { GatsbyConfig } from "gatsby";
// working ? feels more dynamic
/*
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
*/
// for if I go the vercel route
require('dotenv').config({
path: process.env.NODE_ENV === 'Production' ? '.env.production' : '.env.development',
});
const config: GatsbyConfig = {
siteMetadata: {
title: `Jono Lane`,
siteUrl: `https://jonolane.io`,
description: `Personal portfolio showcasing my projects.`,
twitterUsername: `@jlane_`,
image: `https://jonolane.io/preview1.gif`,
},
// More easily incorporate content into your pages through automatic TypeScript type generation and better GraphQL IntelliSense.
// If you use VSCode you can also use the GraphQL plugin
// Learn more at: https://gatsby.dev/graphql-typegen
graphqlTypegen: true,
plugins: [
// only for if I decide to use staticImage again
/*
"gatsby-plugin-postcss",
"gatsby-plugin-image",
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: `${__dirname}/src/images`,
},
},
*/
]
};
export default config;