From d46c25c9142be5663b68828ad4ff436c287a0e92 Mon Sep 17 00:00:00 2001 From: nuno-aac Date: Wed, 29 Nov 2023 12:31:43 +0000 Subject: [PATCH] Remove unused localization files in build --- workspaces/cms-data/src/i18n/config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workspaces/cms-data/src/i18n/config.ts b/workspaces/cms-data/src/i18n/config.ts index bb154797057..72698b4f2db 100644 --- a/workspaces/cms-data/src/i18n/config.ts +++ b/workspaces/cms-data/src/i18n/config.ts @@ -16,7 +16,7 @@ export const i18nConfig: readonly LocaleConfig[] = [ langDir: "ltr", dateFormat: "MM/DD/YYYY", }, - { + /*{ code: "af", hrefLang: "af", name: "Afrikaans", @@ -231,10 +231,10 @@ export const i18nConfig: readonly LocaleConfig[] = [ localName: "简体中文", langDir: "ltr", dateFormat: "YYYY-MM-DD", - }, + },*/ ]; export const defaultLocale = "en"; export const locales: readonly string[] = i18nConfig.map((c) => c.code); -export const preRenderedLocales: readonly string[] = ["en", "zh"]; +export const preRenderedLocales: readonly string[] = ["en"];