forked from liferay/clay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
65 lines (64 loc) · 1.81 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
62
63
64
65
const clay = require('clay-css');
const path = require('path');
module.exports = {
plugins: [
'gatsby-plugin-react-next',
'gatsby-transformer-try-examples',
{
resolve: 'gatsby-plugin-sass',
options: {
precision: 8,
includePaths: clay
.includePaths
.concat(
path.join(
clay.includePaths[0],
'node_modules'
)
)
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: "packages",
path: `${__dirname}/content`,
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
{
resolve: 'gatsby-remark-foreach-icons'
},
{
resolve: 'gatsby-remark-component',
options: {
components: ['clay-chart']
}
},
{
resolve: 'gatsby-remark-images',
},
{
resolve: 'gatsby-remark-prismjs',
options: {
classPrefix: 'gatsby-code-'
}
},
{
resolve: 'gatsby-remark-use-clipboard'
}
]
}
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-37033501-10',
},
},
'gatsby-plugin-react-helmet'
]
}