Skip to content

Commit 70a10ff

Browse files
fix: include sources map сontent for modern api by default (#1250)
1 parent 38c79b5 commit 70a10ff

File tree

4 files changed

+4936
-174
lines changed

4 files changed

+4936
-174
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Thankfully there are two solutions to this problem:
147147
- **[`additionalData`](#additionaldata)**
148148
- **[`webpackImporter`](#webpackimporter)**
149149
- **[`warnRuleAsWarning`](#warnruleaswarning)**
150+
- **[`api`](#api)**
150151

151152
### `implementation`
152153

src/utils.js

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ async function getSassOptions(
189189

190190
if (useSourceMap) {
191191
sassOptions.sourceMap = true;
192+
sassOptions.sourceMapIncludeSources = true;
192193
}
193194

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

0 commit comments

Comments
 (0)