-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
61 lines (59 loc) · 1.94 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
module.exports = {
siteMetadata: {
title: `Wanna Play`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/data`,
},
},
// This plugin exposes helper functions for processing
// images with the NPM package “sharp”. It's used by
// several other plugins.
`gatsby-plugin-sharp`,
// This plugin identifies file nodes that are images and
// transforms these to create new “ImageSharp” nodes.
`gatsby-transformer-sharp`,
// This plugin transforms JSON file nodes.
// `gatsby-transformer-json`,
`gatsby-typegen-filesystem`,
// This plugin adds GraphQL fields to the ImageSharp
// GraphQL type. With them you can resize images and
// generate sets of responsive images.
`gatsby-typegen-sharp`,
// This plugin sets up the popular css-in-js library
// Glamor. It handles adding a Babel plugin and webpack
// configuration as well as setting up optimized server
// rendering and client re-hydration.
`gatsby-plugin-glamor`,
// // This plugin takes your configuration and generates a
// // web manifest file so Gatsbygram can be added to your
// // homescreen on Android.
// {
// resolve: `gatsby-plugin-manifest`,
// options: {
// name: `Wanna Play`,
// short_name: `Wanna Play`,
// start_url: `/`,
// background_color: `#DB4D69`,
// theme_color: `#0F4DBC`,
// display: `minimal-ui`,
// },
// },
// // This plugin generates a service worker and AppShell
// // html file so the site works offline and is otherwise
// // resistant to bad networks. Works with almost any
// // site!
// `gatsby-plugin-offline`,
// This plugin sets up Google Analytics for you.
// {
// resolve: `gatsby-plugin-google-analytics`,
// options: {
// trackingId: `UA--2`,
// },
// },
]
}