Skip to content

Commit 05cf275

Browse files
代强代强
代强
authored and
代强
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 05cf275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

+1-1
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)