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:

committed by
Chuck Jazdzewski

parent
07122f0ad9
commit
1cff1250ba
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user