mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-15 13:19:23 +00:00
fix(web): app/webview sourcemap inlining
This commit is contained in:
parent
27daea4dec
commit
2ed717f084
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ if(sourceRoot) {
|
|||
srcMap.toFile(mapFile);
|
||||
|
||||
if(shouldInline) {
|
||||
const mapToInline = SourcemapRemapper.fromFile(mapFile).sourceRoot;
|
||||
const mapToInline = SourcemapRemapper.fromFile(mapFile).sourceMap;
|
||||
const inlineableComment = convertSourceMap.fromObject(mapToInline).toComment();
|
||||
|
||||
fs.appendFileSync(scriptFile, `\n${inlineableComment}`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue