We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dump_typescript
1 parent 58b39d5 commit f2811ebCopy full SHA for f2811eb
symfony/ux-translator/2.32/config/packages/ux_translator.yaml
@@ -1,3 +1,9 @@
1
ux_translator:
2
# The directory where the JavaScript translations are dumped
3
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