forked from pythonbrasil/pybr2022-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
54 lines (53 loc) · 1.51 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
const path = require('path')
module.exports = {
siteMetadata: {
title: `Python Brasil 2022`,
siteUrl: `https://2022.pythonbrasil.org.br`
},
plugins: [{
resolve: "gatsby-plugin-sass",
options: {
additionalData: `@import "${__dirname}/src/assets/sass/_exportable.scss";`,
}
}, {
resolve: 'gatsby-plugin-google-analytics',
options: {
"trackingId": "123456"
}
}, "gatsby-plugin-image", "gatsby-plugin-react-helmet", "gatsby-plugin-sitemap", {
resolve: "gatsby-plugin-manifest",
options: {
name: "Python Brasil 2022",
short_name: "PythonBrasil2022",
start_url: "/",
background_color: "#fff",
theme_color: "#047f4d",
display: "standalone",
icon: "src/assets/images/favicon/android-chrome-512x512.png",
},
}, "gatsby-plugin-sharp", "gatsby-transformer-sharp",
{
resolve: 'gatsby-source-filesystem',
options: {
"name": "images",
"path": "./src/assets/images/"
},
__key: "images"
},
{
resolve: `gatsby-plugin-alias-imports`,
options: {
alias: {
"@files": path.resolve(__dirname, "src/assets/files"),
"@components": path.resolve(__dirname, "src/components"),
"@images": path.resolve(__dirname, "src/assets/images"),
"@configs": path.resolve(__dirname, "src/configs"),
"@sass": path.resolve(__dirname, "src/assets/sass"),
"@vendor": path.resolve(__dirname, "src/assets/vendor")
},
extensions: [
"js", "scss"
]
}
}]
};