We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86ddc14 commit b2830deCopy full SHA for b2830de
index.js
@@ -50,6 +50,8 @@ module.exports = function(source, map) {
50
const compiled = compile(processed.toString(), compileOptions);
51
let { js, css, warnings } = compiled;
52
53
+ if (!js.map.sourcesContent) js.map.sourcesContent = [ source ];
54
+
55
warnings.forEach(
56
options.onwarn
57
? warning => options.onwarn(warning, handleWarning)
0 commit comments