Skip to content

Commit

Permalink
fix: include sources map сontent for modern api by default (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Dec 4, 2024
1 parent 38c79b5 commit 70a10ff
Show file tree
Hide file tree
Showing 4 changed files with 4,936 additions and 174 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Thankfully there are two solutions to this problem:
- **[`additionalData`](#additionaldata)**
- **[`webpackImporter`](#webpackimporter)**
- **[`warnRuleAsWarning`](#warnruleaswarning)**
- **[`api`](#api)**

### `implementation`

Expand Down
1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ async function getSassOptions(

if (useSourceMap) {
sassOptions.sourceMap = true;
sassOptions.sourceMapIncludeSources = true;
}

// If we are compiling sass and indentedSyntax isn't set, automatically set it.
Expand Down
Loading

0 comments on commit 70a10ff

Please sign in to comment.