Skip to content

Commit f862f7a

Browse files
authored
fix: generate correct sourceMaps for modern-compiler api (#1228)
1 parent ef02dad commit f862f7a

6 files changed

+2574
-11
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)