Skip to content

Commit

Permalink
Revert images (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
seungpark authored Jan 26, 2024
1 parent bd0ae24 commit 1c23441
Show file tree
Hide file tree
Showing 18 changed files with 181 additions and 972 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 1c23441

Please sign in to comment.