diff --git a/gatsby-config.js b/gatsby-config.js index 5d475595f856b..7a003a368d25c 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -480,7 +480,9 @@ module.exports = { { resolve: "gatsby-plugin-purgecss", options: { - printRejected: true, + printRejected: false, + develop: false, + purgeOnly: ["src/"], }, }, ] diff --git a/src/sections/Home/Banner-1/index.js b/src/sections/Home/Banner-1/index.js index 4fb042fbae55d..24e96a78ccfc1 100644 --- a/src/sections/Home/Banner-1/index.js +++ b/src/sections/Home/Banner-1/index.js @@ -15,7 +15,7 @@ const Banner1 = (props) => { return ( - hero-image + hero-image diff --git a/src/sections/Home/Partners-home/index.js b/src/sections/Home/Partners-home/index.js index 42e1b224577cc..4459c5e91f8f8 100644 --- a/src/sections/Home/Partners-home/index.js +++ b/src/sections/Home/Partners-home/index.js @@ -35,14 +35,15 @@ const LazyPartnerImage = ({ partner }) => { }); }, [partner.imageLink]); - if (!imageSrc) return null; - return (