-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatsby-config.js
More file actions
44 lines (43 loc) · 936 Bytes
/
gatsby-config.js
File metadata and controls
44 lines (43 loc) · 936 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
43
44
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
siteMetadata: {
title: "JS2102",
description: "Javascript 개발을 즐겨하는 개발자의 블로그",
},
plugins: [
"gatsby-plugin-image",
"gatsby-plugin-sharp",
{
resolve: "gatsby-source-filesystem",
options: {
name: `post`,
path: `${__dirname}/post`,
},
},
{
resolve: "gatsby-plugin-mdx",
options: {
extensions: [`.mdx`, `.md`],
},
},
"gatsby-transformer-sharp",
{
resolve: `gatsby-plugin-emotion`,
options: {
sourceMap: true,
autoLabel: "dev-only",
labelFormat: `[local]`,
cssPropOptimization: true,
},
},
{
resolve: "gatsby-plugin-canonical-urls",
options: {
siteUrl: "https://js2102.github.io/",
stripQueryString: true,
},
},
],
};