Skip to content

Commit

Permalink
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/converter/collect-source-maps.js
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ const collectSourceMaps = async (v8list, options) => {
const sourceData = {
url,
id,
// source
// source,
source: convertSourceMap.removeComments(source),
// could be existed
sourceMap
4 changes: 2 additions & 2 deletions lib/v8/v8.js
Original file line number Diff line number Diff line change
@@ -47,8 +47,8 @@ const initV8ListAndSourcemap = async (v8list, options) => {
data.type = 'js';
data.functions = item.functions;
data.source = item.source;
// useless here
// data.scriptId = item.scriptId;
// could be existed
data.sourceMap = item.sourceMap;
} else if (item.ranges) {
data.type = 'css';
data.ranges = item.ranges;

0 comments on commit 005b60d

Please sign in to comment.