We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7148a16 commit 64a3376Copy full SHA for 64a3376
packages/angular_devkit/build_angular/src/utils/i18n-options.ts
@@ -105,6 +105,11 @@ export async function configureI18nBuild<T extends BrowserBuilderSchema | Server
105
106
const buildOptions = { ... options };
107
108
+ if (buildOptions.localize === true
109
+ || (Array.isArray(buildOptions.localize) && buildOptions.localize.length > 1)) {
110
+ throw new Error('Using the localize option for multiple locales is temporarily disabled.');
111
+ }
112
+
113
const tsConfig = readTsconfig(buildOptions.tsConfig, context.workspaceRoot);
114
const usingIvy = tsConfig.options.enableIvy !== false;
115
const metadata = await context.getProjectMetadata(context.target);
0 commit comments