Update symfony recipe symfony/ux-translator
Dump the translations into var/translations, as required by the Vite preset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4a46d884ad
commit
8d255121f8
2 files changed
+10
-5
No files matched your search
@@ -1,3 +1,9 @@
|
||||
ux_translator:
|
||||
# The directory where the JavaScript translations are dumped
|
||||
dump_directory: '%kernel.project_dir%/vendor/chill-project/chill-bundles/var/translations'
|
||||
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: true
|
||||
Reference in new issue
Block a user