-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
39 lines (38 loc) · 1.29 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.com/docs/gatsby-config/
*/
module.exports = {
/* Your site config here */
plugins: [
`gatsby-plugin-sass`,
`gatsby-plugin-netlify`,
{
resolve: `gatsby-plugin-react-redux`,
options: {
// [required] - path to your createStore module
pathToCreateStoreModule: './src/state/createStore',
// [optional] - options passed to `serialize-javascript`
// info: https://github.com/yahoo/serialize-javascript#options
// will be merged with these defaults:
serialize: {
space: 0,
// if `isJSON` is set to `false`, `eval` is used to deserialize redux state,
// otherwise `JSON.parse` is used
isJSON: true,
unsafe: false,
ignoreFunction: true,
},
// [optional] - if true will clean up after itself on the client, default:
cleanupOnClient: true,
// [optional] - name of key on `window` where serialized state will be stored, default:
windowKey: '__PRELOADED_STATE__',
},
},
// {
// resolve: `gatsby-plugin-create-client-paths`,
// options: { prefixes: [ `/community/*`, `/plans/*`, `/profile/*`, `/publicplan/*`, `/tracker/*`, ] },
// },
],
}