mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Merge pull request #1499 from Kocal/ux-translator-dump-ts
[UXTranslator] Update recipe with `dump_typescript` config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user