gatsby-starter-deck/gatsby-config.js

39 lines
948 B
JavaScript

module.exports = {
siteMetadata: {
name: `Fabian Schultz`,
title: `Gatsby Deck`,
date: `July 30, 2018`,
},
plugins: [
`gatsby-plugin-layout`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-offline`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `slides`,
path: `${__dirname}/src/slides`,
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
`gatsby-remark-copy-linked-files`,
{
resolve: `gatsby-remark-images`,
options: {
// It's important to specify the maxWidth (in pixels) of
// the content container as this plugin uses this as the
// base for generating different widths of each image.
maxWidth: 1920,
},
},
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
],
};