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:
|
ux_translator:
|
||||||
# The directory where the JavaScript translations are dumped
|
# 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
|
||||||
+3
-4
@@ -358,17 +358,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/ux-translator": {
|
"symfony/ux-translator": {
|
||||||
"version": "2.31",
|
"version": "2.32",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "2.9",
|
"version": "2.32",
|
||||||
"ref": "bc396565cc4cab95692dd6df810553dc22e352e1"
|
"ref": "20e2abac415da4c3a9a6bafa059a6419beb74593"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"assets/translator.js",
|
"assets/translator.js",
|
||||||
"config/packages/ux_translator.yaml",
|
"config/packages/ux_translator.yaml",
|
||||||
"var/translations/configuration.js",
|
|
||||||
"var/translations/index.js"
|
"var/translations/index.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user