-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
69 lines (68 loc) · 1.4 KB
/
gatsby-config.js
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
67
68
69
const plugins = [
"gatsby-plugin-remove-serviceworker",
{
resolve: "gatsby-plugin-emotion",
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "docs",
path: `${__dirname}/content/`,
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: `${__dirname}/static/images/`,
},
},
{
resolve: "gatsby-plugin-mdx",
options: {
extensions: [".mdx", ".md"],
mdxOptions: {
remarkPlugins: [
// Add GitHub Flavored Markdown (GFM) support
require(`remark-gfm`)
],
},
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /icons/,
},
},
},
{
resolve: "gatsby-plugin-manifest",
options: {
name: "/useful",
short_name: "/useful",
start_url: "/",
background_color: "#FFFFFF",
theme_color: "#FFFFFF",
display: "standalone",
crossOrigin: "use-credentials",
icon: `static/images/icon-512.png`,
icons: [
{
src: "static/images/icon-512.png",
sizes: `512x512`,
type: `image/png`,
},
],
},
},
];
module.exports = {
siteMetadata: {
docsLocation: "https://github.com/tbtuan/useful/tree/master/content/",
githubUrl: "https://github.com/tbtuan/useful",
},
jsxRuntime: "automatic",
plugins: plugins,
};