feat(compiler): set sourcesContent for source map

This commit is contained in:
Evan You
2019-09-20 12:19:52 -04:00
parent 8a923f6a52
commit c78d47b788
2 changed files with 11 additions and 2 deletions

View File

@@ -107,6 +107,9 @@ function createCodegenContext(
}
}
}
if (!__BROWSER__) {
context.map!.setSourceContent(filename, context.source)
}
return context
}