Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f62401a

Browse filesBrowse files
Update advanced-config.rst
I think the documentation is missing the manifest definition step
1 parent 395d48d commit f62401a
Copy full SHA for f62401a

File tree

Expand file treeCollapse file tree

1 file changed

+15
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+15
-0
lines changed

‎frontend/encore/advanced-config.rst

Copy file name to clipboardExpand all lines: frontend/encore/advanced-config.rst
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,21 @@ Next, define the output directories of each build:
118118
firstConfig: '%kernel.project_dir%/public/first_build'
119119
secondConfig: '%kernel.project_dir%/public/second_build'
120120
121+
122+
Also define the asset manifests for each build:
123+
124+
.. code-block:: yaml
125+
126+
# config/packages/assets.yaml
127+
framework:
128+
assets:
129+
packages:
130+
first_build:
131+
json_manifest_path: '%kernel.project_dir%/public/first_build/manifest.json'
132+
second_build:
133+
json_manifest_path: '%kernel.project_dir%/public/second_build/manifest.json'
134+
135+
121136
Finally, use the third optional parameter of the ``encore_entry_*_tags()``
122137
functions to specify which build to use:
123138

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.