diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-15 09:23:31 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-15 09:23:31 +0800 |
| commit | be4d8a9462de720e6b22cf291860cf4a87e066ae (patch) | |
| tree | 423bb8ad04d05f3ca47d67141bad6d536f2aef43 /node_modules/source-map/lib/source-map-generator.js | |
| parent | b5134a5a8d953fd741a17536959293ba855ffd66 (diff) | |
updates
Diffstat (limited to 'node_modules/source-map/lib/source-map-generator.js')
| -rw-r--r-- | node_modules/source-map/lib/source-map-generator.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/node_modules/source-map/lib/source-map-generator.js b/node_modules/source-map/lib/source-map-generator.js index 508bcfbb..aff1e7fb 100644 --- a/node_modules/source-map/lib/source-map-generator.js +++ b/node_modules/source-map/lib/source-map-generator.js @@ -72,15 +72,6 @@ SourceMapGenerator.fromSourceMap = generator.addMapping(newMapping); }); aSourceMapConsumer.sources.forEach(function (sourceFile) { - var sourceRelative = sourceFile; - if (sourceRoot !== null) { - sourceRelative = util.relative(sourceRoot, sourceFile); - } - - if (!generator._sources.has(sourceRelative)) { - generator._sources.add(sourceRelative); - } - var content = aSourceMapConsumer.sourceContentFor(sourceFile); if (content != null) { generator.setSourceContent(sourceFile, content); |
