- Issue created by @JonesUI
Sass throws errors when full paths not used in custom.scss
When I run `gulp sass` I get errors like:
[22:51:14] Starting 'sass'...
sass/custom.scss
Error: Can't find stylesheet to import.
╷
5 │ @import "functions";
│ ^^^^^^^^^^^
╵
sass/custom.scss 5:9 root stylesheet
I added "full paths" to the sub-sass files to fix the error:
// Abstracts/Helpers - helpers that don't output CSS
@import "abstracts/functions";
@import "abstracts/mixins";
@import "abstracts/accessibility";
// Variables - global variables, also don't output CSS
@import "abstracts/variables/breakpoints";
@import "abstracts/variables/colors";
@import "abstracts/variables/debugging";
@import "abstracts/variables/typography";
@import "abstracts/variables/units";
// Base - styles used throughout the entire site
@import "base/base";
@import "base/typography";
@import "base/accessibility";
// Styles
@import "styles/layout";
// Component Styles
@import "styles/regions/header";
@import "styles/regions/footer";
// Other
@import "admin";
@import "print";
Active
2.0
Code