-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
46 lines (45 loc) · 1 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
require("dotenv").config();
module.exports = {
siteMetadata: {
siteUrl: "https://lou-website.netlify.app",
},
plugins: [
{
resolve: "gatsby-plugin-eslint",
options: {
test: /(\.js$|\.jsx|\.ts|\.tsx)$/,
exclude: /(node_modules|.cache|public)/,
stages: ["develop"],
options: {
emitWarning: true,
failOnError: false,
},
},
},
"gatsby-transformer-remark",
{
resolve: `gatsby-source-datocms`,
options: {
apiToken: process.env.DATO_API_TOKEN,
previewMode: process.env.NODE_ENV === "development",
disableLiveReload: true,
localeFallbacks: {
da: ["en"],
},
},
},
"gatsby-plugin-ts",
"gatsby-plugin-emotion",
{
resolve: "gatsby-plugin-alias-imports",
options: {
alias: {
lib: "src/lib",
api: "src/api",
components: "src/components",
},
},
},
"gatsby-plugin-netlify",
],
};