Skip to content

Commit

Permalink
deleted old images
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Jan 30, 2024
2 parents 720dd9a + 5624334 commit b004d1e
Show file tree
Hide file tree
Showing 27 changed files with 502 additions and 1,002 deletions.
16 changes: 2 additions & 14 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ const pathPrefix = !isPreview ? generatePathPrefix(siteMetadata) : undefined;
console.log('PATH PREFIX', pathPrefix);

// Specifies which plugins to use depending on build environment
const plugins = [
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`, // cannot use public as plugins initialize before gatsby-node module
},
},
`gatsby-transformer-sharp`, // Needed for dynamic images
'gatsby-plugin-emotion',
isPreview ? 'gatsby-source-snooty-preview' : 'gatsby-source-snooty-prod',
];
const plugins = ['gatsby-plugin-emotion', isPreview ? 'gatsby-source-snooty-preview' : 'gatsby-source-snooty-prod'];

// PRODUCTION DEPLOYMENTS --
// If not a preview build, use the layout that includes the
// consistent navbar and footer and generate a sitemap.
Expand Down
Loading

0 comments on commit b004d1e

Please sign in to comment.