-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
43 lines (42 loc) · 956 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
36
37
38
39
40
41
42
43
const Config = require("./starter-config")
module.exports = {
pathPrefix: Config.pathPrefix,
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sharp`,
`gatsby-plugin-styled-components`,
`gatsby-transformer-json`,
{
resolve: `gatsby-mdx`,
options: {
extensions: [`.mdx`, `.md`],
defaultLayouts: {
default: require.resolve("./src/templates/default.jsx")
},
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 1035,
sizeByPixelDensity: true
}
}
]
}
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "accordion",
path: `${__dirname}/accordion`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `data`,
path: `${__dirname}/data/`,
},
}
]
};