Skip to content

Commit 43a0ea8

Browse files
committed
Force source-map-support to not have source maps
It fooled sorcery's incorrect check for sourceMappingURL into thinking it had a source map. Also up the error stack trace limit to 1000 to help future error reporting.
1 parent 874846a commit 43a0ea8

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": null,
730733
}
731734
});
732735
const finalMap = chain.apply();

0 commit comments

Comments
 (0)