Skip to content

Commit 5d197e7

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Minor reword Update configuration.rst move versionadded directive out of list item
2 parents 85eebc4 + 0718196 commit 5d197e7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

configuration.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,13 @@ files directly in the ``config/packages/`` directory.
461461
webpack_encore:
462462
strict_mode: false
463463
464+
# YAML syntax allows to reuse contents using "anchors" (&some_name) and "aliases" (*some_name).
465+
# In this example, 'test' configuration uses the exact same configuration as in 'prod'
466+
when@prod: &webpack_prod
467+
webpack_encore:
468+
# ...
469+
when@test: *webpack_prod
470+
464471
.. code-block:: xml
465472
466473
<!-- config/packages/webpack_encore.xml -->

0 commit comments

Comments
 (0)