From f2811eb2b6aa70685ed2225f52c8ae0996794765 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sat, 6 Dec 2025 02:44:13 +0900 Subject: [PATCH] [UXTranslator] Update recipe with `dump_typescript` config --- .../ux-translator/2.32/config/packages/ux_translator.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/symfony/ux-translator/2.32/config/packages/ux_translator.yaml b/symfony/ux-translator/2.32/config/packages/ux_translator.yaml index 1c1c70608..c8453a509 100644 --- a/symfony/ux-translator/2.32/config/packages/ux_translator.yaml +++ b/symfony/ux-translator/2.32/config/packages/ux_translator.yaml @@ -1,3 +1,9 @@ ux_translator: # The directory where the JavaScript translations are dumped dump_directory: '%kernel.project_dir%/var/translations' + +when@prod: + ux_translator: + # Control whether TypeScript types are dumped alongside translations. + # Disable this if you do not use TypeScript (e.g. in production when using AssetMapper), to speed up cache warmup. + # dump_typescript: false