Skip to content

Commit 2b4b629

Browse files
author
Andy
authored
Remove largeSource argument to convertMap.fromSource (#18098)
1 parent 27e590d commit 2b4b629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gulpfile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ gulp.task("browserify", "Runs browserify on run.js to produce a file suitable fo
786786
const file = new Vinyl({ contents, path: bundlePath });
787787
console.log(`Fixing sourcemaps for ${file.path}`);
788788
// assumes contents is a Buffer, since that's what browserify yields
789-
const maps = convertMap.fromSource(stringContent, /*largeSource*/ true).toObject();
789+
const maps = convertMap.fromSource(stringContent).toObject();
790790
delete maps.sourceRoot;
791791
maps.sources = maps.sources.map(s => path.resolve(s === "_stream_0.js" ? "built/local/_stream_0.js" : s));
792792
// Strip browserify's inline comments away (could probably just let sorcery do this, but then we couldn't fix the paths)

0 commit comments

Comments
 (0)