Skip to content

Commit 5c2128b

Browse files
authored
Merge pull request #1499 from Kocal/ux-translator-dump-ts
[UXTranslator] Update recipe with `dump_typescript` config
2 parents 58b39d5 + f2811eb commit 5c2128b

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)