-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
gatsby-config.ts
66 lines (62 loc) · 1.77 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import type { GatsbyConfig } from 'gatsby';
// eslint-disable-next-line @typescript-eslint/no-var-requires
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
const config: GatsbyConfig = {
polyfill: false,
siteMetadata: {
title: `craft`,
siteUrl: `https://craft.so-so.dev/`,
description: `Build, Collect user interfaces of the future what is exciting and challenging to create.`,
},
// 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: [
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: 'gatsby-plugin-react-svg',
options: {
rule: {
include: /images\/.*\.svg$/,
},
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
// The unique name for each instance
name: `images`,
// Path to the directory
path: `${__dirname}/src/images/`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Craft`,
description: `Build, Collect user interfaces of the future what is exciting and challenging to create.`,
lang: `ko`,
icon: `src/images/icon.png`,
},
},
{
resolve: `gatsby-plugin-gtag`,
options: {
trackingId: `G-FB1K3CJYRD`,
// Puts tracking script in the head instead of the body
head: false,
// enable ip anonymization
anonymize: true,
},
},
'gatsby-plugin-netlify',
'gatsby-plugin-vanilla-extract',
],
};
export default config;
// G-FB1K3CJYRD