Use '--pretty' in builds.

This commit is contained in:
Daniel Rosenwasser 2015-11-02 16:41:28 -08:00
parent fc51ca749c
commit 3f0c6b1aaf

View file

@ -228,7 +228,7 @@ var builtLocalCompiler = path.join(builtLocalDirectory, compilerFilename);
function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, noOutFile, generateDeclarations, outDir, preserveConstEnums, keepComments, noResolve, stripInternal, callback) {
file(outFile, prereqs, function() {
var compilerPath = useBuiltCompiler ? builtLocalCompiler : LKGCompiler;
var options = "--module commonjs --noImplicitAny --noEmitOnError";
var options = "--module commonjs --noImplicitAny --noEmitOnError --pretty";
// Keep comments when specifically requested
// or when in debug mode.