refactor: remove old compiler options (#14891)

DEPRECATION:
- `CompilerOptions.debug` has no effect any more, as the compiler
  always produces the same code independent of debug mode.
This commit is contained in:
Tobias Bosch
2017-03-07 11:16:27 -08:00
committed by Chuck Jazdzewski
parent 07122f0ad9
commit 1cff1250ba
10 changed files with 12 additions and 41 deletions

View File

@ -107,14 +107,9 @@ export class TypeScriptServiceHost implements LanguageServiceHost {
const urlResolver = createOfflineCompileUrlResolver();
const htmlParser = new DummyHtmlParser();
// This tracks the CompileConfig in codegen.ts. Currently these options
// are hard-coded except for genDebugInfo which is not applicable as we
// never generate code.
const config = new CompilerConfig({
genDebugInfo: false,
defaultEncapsulation: ViewEncapsulation.Emulated,
logBindingUpdate: false,
useJit: false
});
// are hard-coded.
const config =
new CompilerConfig({defaultEncapsulation: ViewEncapsulation.Emulated, useJit: false});
const directiveNormalizer =
new DirectiveNormalizer(resourceLoader, urlResolver, htmlParser, config);