-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.ts
More file actions
executable file
·42 lines (40 loc) · 939 Bytes
/
gatsby-config.ts
File metadata and controls
executable file
·42 lines (40 loc) · 939 Bytes
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
import path from 'path';
/** @type {import('gatsby').GatsbyConfig} */
const config = {
siteMetadata: {
description: 'pyjun01 블로그',
siteUrl: 'https://pyjun01.github.io',
},
trailingSlash: 'always',
plugins: [
{
resolve: 'gatsby-plugin-typescript',
options: {
isTSX: true,
allExtensions: true,
jsxPragma: `jsx`, // defaults to "React"
},
},
'gatsby-plugin-sitemap',
'gatsby-plugin-react-helmet',
'gatsby-plugin-styled-components',
'gatsby-plugin-image',
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-mdx',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'blog',
path: path.resolve('./src/blog'),
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [`gatsby-remark-autolink-headers`],
},
},
],
};
export default config;