Skip to content

Commit

Permalink
fix: sass embedded importer detection
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Dec 25, 2023
1 parent 0084b93 commit e34f938
Show file tree
Hide file tree
Showing 8 changed files with 54,024 additions and 38,774 deletions.
10,596 changes: 5,578 additions & 5,018 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,14 @@ async function getSassOptions(
)
: [];

// Regression on the `sass-embedded` side
if (
loaderOptions.webpackImporter === false &&
sassOptions.importer.length === 0
) {
sassOptions.importer = undefined;
}

sassOptions.includePaths = []
.concat(process.cwd())
.concat(
Expand Down
Loading

0 comments on commit e34f938

Please sign in to comment.