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.
This commit is contained in:
Nathan Shively-Sanders 2016-09-07 16:18:14 -07:00
parent 874846a534
commit 43a0ea8694

View File

@ -39,6 +39,8 @@ const gulp = helpMaker(originalGulp);
const mochaParallel = require("./scripts/mocha-parallel.js");
const {runTestsInParallel} = mochaParallel;
Error.stackTraceLimit = 1000;
const cmdLineOptions = minimist(process.argv.slice(2), {
boolean: ["debug", "light", "colors", "lint", "soft"],
string: ["browser", "tests", "host", "reporter"],
@ -727,6 +729,7 @@ gulp.task("browserify", "Runs browserify on run.js to produce a file suitable fo
sourcemaps: {
"built/local/_stream_0.js": originalMap,
"built/local/bundle.js": maps,
"node_modules/source-map-support/source-map-support.js": null,
}
});
const finalMap = chain.apply();