freeCodeCamp/packages/learn/gatsby-config.js
2018-09-27 20:05:31 +05:30

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']
}
}
]
};