feat(compiler-cli): add a debug option to control the output

fixes #9208
This commit is contained in:
Victor Berchet
2016-06-15 14:56:56 -07:00
parent b620f4f456
commit 1eaa193c51
6 changed files with 18 additions and 5 deletions

View File

@ -152,7 +152,7 @@ export class CodeGenerator {
StaticAndDynamicReflectionCapabilities.install(staticReflector);
const htmlParser = new HtmlParser();
const config = new compiler.CompilerConfig({
genDebugInfo: true,
genDebugInfo: options.debug === true,
defaultEncapsulation: ViewEncapsulation.Emulated,
logBindingUpdate: false,
useJit: false,