Skip to content

Commit

Permalink
sass issue for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeyfe6 committed Sep 21, 2024
1 parent 2d2d33a commit 4ebe0a9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@ module.exports = {
host: process.env.CONTENTFUL_HOST,
},
},
'gatsby-plugin-sass',
{
resolve: `gatsby-plugin-sass`,
options: {
implementation: require('sass'),
sassOptions: {
silenceDeprecations: ['legacy-js-api'],
},
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
Expand Down Expand Up @@ -305,7 +313,7 @@ module.exports = {
acc[`/blog/${slug}/`] = { path: `/blog/${slug}/`, updatedAt };
return acc;
},
{},
{}
);

const sitePagesMap = allSitePage.nodes.reduce((acc, page) => {
Expand Down

0 comments on commit 4ebe0a9

Please sign in to comment.