noc-book-2/gatsby-config.js
2024-05-29 10:30:24 +08:00

43 lines
960 B
JavaScript

module.exports = {
siteMetadata: {
title: `Nature of Code`,
siteUrl: `https://natureofcode.com`,
description: `Simulating Natural Systems with JavaScript`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content`,
path: `${__dirname}/content/`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images/`,
},
},
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
{
resolve: `gatsby-transformer-json`,
options: {
typeName: 'BookSection',
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Nature of Code`,
start_url: `/`,
display: `standalone`,
icon: `src/images/favicon.png`,
},
},
`gatsby-plugin-postcss`,
`gatsby-plugin-react-helmet`,
],
};