I’m currently using Gatsby to build my personal website and Sass for all the styling.
However, my build keeps failing because it cannot import a Sass partial
@import 'header'. I’m wondering if this has to do with my Gatsby config, specifically the Gatsby Sass plugin.
I’m currently bringing in the main ‘styles.scss’ into my ‘Layout.js’ file, which is applied to all the pages on the site. It seems to pick up the Sass file, however it cannot read the Sass partial. The strange thing is that everything looks fine during development.
These are the details from my Netlify deploy, which has failed numerous times: