Skip to content

Commit f2811eb

Browse files
committed
[UXTranslator] Update recipe with dump_typescript config
1 parent 58b39d5 commit f2811eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
ux_translator:
22
# The directory where the JavaScript translations are dumped
33
dump_directory: '%kernel.project_dir%/var/translations'
4+
5+
when@prod:
6+
ux_translator:
7+
# Control whether TypeScript types are dumped alongside translations.
8+
# Disable this if you do not use TypeScript (e.g. in production when using AssetMapper), to speed up cache warmup.
9+
# dump_typescript: false

0 commit comments

Comments
 (0)