From 15468a514e47907b3baff8bfaeb4efa6b91b8a17 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 30 Mar 2020 18:30:30 +0200 Subject: [PATCH] refactor(@ngtools/webpack): deprecate i18n options --- packages/ngtools/webpack/src/interfaces.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/ngtools/webpack/src/interfaces.ts b/packages/ngtools/webpack/src/interfaces.ts index d120be6c7284..0eddad49412b 100644 --- a/packages/ngtools/webpack/src/interfaces.ts +++ b/packages/ngtools/webpack/src/interfaces.ts @@ -34,12 +34,20 @@ export interface AngularCompilerPluginOptions { skipCodeGeneration?: boolean; hostReplacementPaths?: { [path: string]: string } | ((path: string) => string); forkTypeChecker?: boolean; + + /** @deprecated since version 9 - When using Ivy this option has no effect as i18n is no longer part of the TypeScript compilation. */ i18nInFile?: string; + /** @deprecated since version 9 - When using Ivy this option has no effect as i18n is no longer part of the TypeScript compilation. */ i18nInFormat?: string; + /** @deprecated since version 9 - When using Ivy this option has no effect as i18n is no longer part of the TypeScript compilation. */ i18nOutFile?: string; + /** @deprecated since version 9 - When using Ivy this option has no effect as i18n is no longer part of the TypeScript compilation. */ i18nOutFormat?: string; + /** @deprecated since version 9 - When using Ivy this option has no effect as i18n is no longer part of the TypeScript compilation. */ locale?: string; + /** @deprecated since version 9 - When using Ivy this option has no effect as i18n is no longer part of the TypeScript compilation. */ missingTranslation?: string; + platform?: PLATFORM; nameLazyFiles?: boolean; logger?: logging.Logger;