Skip to content

Commit efd4526

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Update advanced-config.rst
2 parents fdd4968 + 3e7371e commit efd4526

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

frontend/encore/advanced-config.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,19 @@ Next, define the output directories of each build:
122122
firstConfig: '%kernel.project_dir%/public/first_build'
123123
secondConfig: '%kernel.project_dir%/public/second_build'
124124
125+
Also define the asset manifests for each build:
126+
127+
.. code-block:: yaml
128+
129+
# config/packages/assets.yaml
130+
framework:
131+
assets:
132+
packages:
133+
first_build:
134+
json_manifest_path: '%kernel.project_dir%/public/first_build/manifest.json'
135+
second_build:
136+
json_manifest_path: '%kernel.project_dir%/public/second_build/manifest.json'
137+
125138
Finally, use the third optional parameter of the ``encore_entry_*_tags()``
126139
functions to specify which build to use:
127140

0 commit comments

Comments
 (0)