Skip to content

Commit 56fc195

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

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+
# Disabling TypeScript types dumping can significantly reduce the Symfony cache warmup time,
8+
# it is recommended to disable it if these TypeScript files are not used when deploying your app.
9+
# dump_typescript: false

0 commit comments

Comments
 (0)