Skip to content

Commit ccca525

Browse files
authored
Merge pull request #10764 from Microsoft/exclude-source-map-support-FromSourceMaps
Force source-map-support to not have source maps
2 parents 7f84953 + 262a7f6 commit ccca525

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Gulpfile.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ const gulp = helpMaker(originalGulp);
3939
const mochaParallel = require("./scripts/mocha-parallel.js");
4040
const {runTestsInParallel} = mochaParallel;
4141

42+
Error.stackTraceLimit = 1000;
43+
4244
const cmdLineOptions = minimist(process.argv.slice(2), {
4345
boolean: ["debug", "light", "colors", "lint", "soft"],
4446
string: ["browser", "tests", "host", "reporter"],
@@ -727,6 +729,7 @@ gulp.task("browserify", "Runs browserify on run.js to produce a file suitable fo
727729
sourcemaps: {
728730
"built/local/_stream_0.js": originalMap,
729731
"built/local/bundle.js": maps,
732+
"node_modules/source-map-support/source-map-support.js": undefined,
730733
}
731734
});
732735
const finalMap = chain.apply();

0 commit comments

Comments
 (0)