-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
36 lines (35 loc) · 891 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
});
module.exports = {
siteMetadata: {
title: `Developer's Blog`,
description: `Every devs need a simple blog`,
author: `@${process.env.GATSBY_GH_ORGANISATION}`,
theme: `${process.env.GATSBY_SITE_THEME}`,
},
plugins: [
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-force-file-loader`,
options: {
rules: [
'fonts' /* Matches Gatsby default rules for fonts */,
'images' /* Matches Gatsby default rules for images */,
'media' /* Matches Gatsby default rules for media (video/audio) */,
],
},
},
{
resolve: 'gatsby-plugin-resolve-src',
options: {
addSassLoader: false,
},
},
],
};