2018-04-06 14:51:52 +01:00
|
|
|
require('dotenv').config();
|
|
|
|
|
2018-03-26 13:01:24 +01:00
|
|
|
const path = require('path');
|
2018-04-06 14:51:52 +01:00
|
|
|
const { buildChallenges$ } = require('./seed/buildChallenges');
|
2018-03-26 13:01:24 +01:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
siteMetadata: {
|
2018-04-06 14:51:52 +01:00
|
|
|
title: 'freeCodeCamp | Learn to code and help non-profits ',
|
2018-03-26 13:01:24 +01:00
|
|
|
siteUrl: 'https://learn.freecodecamp.org'
|
|
|
|
},
|
2018-04-06 14:51:52 +01:00
|
|
|
proxy: {
|
|
|
|
prefix: '/',
|
|
|
|
url: 'http://localhost:3000'
|
|
|
|
},
|
2018-03-26 13:01:24 +01:00
|
|
|
plugins: [
|
2018-04-06 14:51:52 +01:00
|
|
|
'gatsby-plugin-react-next',
|
2018-03-26 13:01:24 +01:00
|
|
|
'gatsby-plugin-react-helmet',
|
|
|
|
{
|
|
|
|
resolve: 'fcc-source-challenges',
|
|
|
|
options: {
|
|
|
|
name: 'challenges',
|
2018-04-06 14:51:52 +01:00
|
|
|
path: path.resolve(__dirname, './seed/challenges'),
|
|
|
|
source: buildChallenges$
|
2018-03-26 13:01:24 +01:00
|
|
|
}
|
|
|
|
},
|
2018-04-06 14:51:52 +01:00
|
|
|
{
|
|
|
|
resolve: 'gatsby-plugin-google-fonts',
|
|
|
|
options: {
|
|
|
|
fonts: ['Lato:400,400i,700']
|
|
|
|
}
|
|
|
|
}
|
2018-03-26 13:01:24 +01:00
|
|
|
]
|
|
|
|
};
|