34 lines
747 B
JavaScript
34 lines
747 B
JavaScript
require('dotenv').config();
|
|
|
|
const path = require('path');
|
|
const { buildChallenges$ } = require('./seed/buildChallenges');
|
|
|
|
module.exports = {
|
|
siteMetadata: {
|
|
title: 'freeCodeCamp | Learn to code and help non-profits ',
|
|
siteUrl: 'https://learn.freecodecamp.org'
|
|
},
|
|
proxy: {
|
|
prefix: '/',
|
|
url: 'http://localhost:3000'
|
|
},
|
|
plugins: [
|
|
'gatsby-plugin-react-next',
|
|
'gatsby-plugin-react-helmet',
|
|
{
|
|
resolve: 'fcc-source-challenges',
|
|
options: {
|
|
name: 'challenges',
|
|
path: path.resolve(__dirname, './seed/challenges'),
|
|
source: buildChallenges$
|
|
}
|
|
},
|
|
{
|
|
resolve: 'gatsby-plugin-google-fonts',
|
|
options: {
|
|
fonts: ['Lato:400,400i,700']
|
|
}
|
|
}
|
|
]
|
|
};
|