Skip to content

Commit

Permalink
Add root folder to Sass loadPaths
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 19, 2023
1 parent 1829d18 commit 7fe9b44
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/extensions/scss.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ module.exports = {
}

const result = sass.compileString(inputContent, {
loadPaths: [
parsed.dir || '.',
this.config.dir.includes,
'./node_modules'
],
loadPaths: [parsed.dir, this.config.dir.includes, './node_modules', './'],
quietDeps: true
})

Expand Down

0 comments on commit 7fe9b44

Please sign in to comment.