-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
53 lines (52 loc) · 1.32 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
siteMetadata: {
title: "新聞コラム",
description: "日本各地の連載コラム",
author: "Daniel Chin",
lang: "ja",
},
plugins: [
{
resolve: "gatsby-source-filesystem",
options: {
path: `${__dirname}/data/`,
},
},
{
resolve: "gatsby-transformer-json",
options: {
typeName: "Column",
},
},
"gatsby-plugin-emotion",
"gatsby-plugin-typescript",
{
resolve: "gatsby-plugin-graphql-codegen",
options: {
fileName: "types/graphql-types.d.ts",
},
},
"gatsby-plugin-react-helmet",
{
resolve: `gatsby-plugin-manifest`,
options: {
name: "新聞コラム",
short_name: "新聞コラム",
start_url: "/",
background_color: "#6b37bf",
theme_color: "#6b37bf",
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
// see https://developers.google.com/web/fundamentals/web-app-manifest/#display
display: "standalone",
icon: "src/images/icon.png", // This path is relative to the root of the site.
},
},
"gatsby-plugin-offline",
],
}