/
gatsby-config.js
35 lines (35 loc) · 973 Bytes
/
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
module.exports = {
pathPrefix: "/f2e-paper-note",
siteMetadata: {
title: `Paper Note`,
description: `身邊沒紙時,只好用零食包裝紙背面來寫的開心 | Designed by Niki`,
author: `@EasonChiang7178`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `paper-note`,
short_name: `note`,
start_url: `/`,
background_color: `#000000`,
theme_color: `#C3C3BB`,
display: `minimal-ui`,
icon: `src/images/paper-note-icon.png`,
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
],
}