-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
49 lines (48 loc) · 1.2 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
require(`dotenv`).config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
description: `電気自動車(EV)、自動運転、バッテリーっといった自動車革命(Mobility Innovation)に関する中国の情報をいち早く分かりやすくご紹介します。`,
siteUrl: "https://mobino.jp",
title: "Mobino",
},
plugins: [
`gatsby-plugin-fontawesome-css`,
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: [
`G-RBD0FL0K5K`,
],
},
},
`gatsby-plugin-image`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-sass`,
options: {
additionalData: `
@import "${__dirname}/src/styles/colors";
@import "${__dirname}/src/styles/variables";
`,
},
},
`gatsby-plugin-sharp`,
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-source-microcms`,
options: {
apiKey: process.env.MICROCMS_API_KEY,
serviceId: `mobino`,
apis: [
{
endpoint: `articles`,
},
],
},
},
`gatsby-transformer-sharp`,
],
};