Skip to content

Commit 2e26daf

Browse files
committed
fix: generate correct sourceMaps when custom importer is used
Generate correct sourceMaps when custom importer is used. sass/sass#3300 #1217
1 parent ef02dad commit 2e26daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ function getModernWebpackImporter(loaderContext, implementation, loadPaths) {
691691
});
692692
});
693693

694-
return { contents, syntax };
694+
return { contents, syntax, sourceMapUrl: canonicalUrl };
695695
} catch (err) {
696696
return null;
697697
}

0 commit comments

Comments
 (0)