-
Notifications
You must be signed in to change notification settings - Fork 1
/
gatsby-config.js
42 lines (41 loc) · 1.03 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
const config = require("./config");
module.exports = {
siteMetadata: {
title: "Design Systems 101 Workshop",
author: "Andrey Okonetchnikov & Varya Stepanova",
description: "Materials and slides for the Design Systems 101 Workshop",
},
plugins: [
{
resolve: "gatsby-source-figma",
options: {
accessToken: "45552-946fc588-8ab5-4df5-b351-193a343ce3fe",
fileId: "F18zzunW3QsswVuXrcq2BR",
// projectId: `FIGMA_PROJECT_ID`,
nodeIds: config.namingEx.frames,
scale: 1,
format: "png",
},
},
{
resolve: "gatsby-theme-mdx-deck",
options: {
// source directory
contentPath: "./slides",
// base path for routes generate by this theme
basePath: "/slides",
},
},
{
resolve: "gatsby-plugin-compile-es6-packages",
options: {
modules: [
"mdx-deck",
"gatsby-theme-mdx-deck",
"@mdx-deck/themes",
"@mdx-deck/gatsby-plugin",
],
},
},
],
};