Skip to content

Commit 497e7a7

Browse files
committed
Minor tweaks
1 parent dd92f7a commit 497e7a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

frontend/encore/advanced-config.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,21 @@ Next, define the output directories of each build:
106106
107107
# config/packages/webpack_encore.yaml
108108
webpack_encore:
109-
output_path: '%kernel.public_dir%/web/default_build'
109+
output_path: '%kernel.public_dir%/public/default_build'
110110
builds:
111-
firstConfig: '%kernel.public_dir%/web/first_build'
112-
secondConfig: '%kernel.public_dir%/web/second_build'
111+
firstConfig: '%kernel.public_dir%/public/first_build'
112+
secondConfig: '%kernel.public_dir%/public/second_build'
113113
114114
Finally, use the third optional parameter of the ``encore_entry_*_tags()``
115115
functions to specify which build to use:
116116

117117
.. code-block:: twig
118118
119-
{# Using the entrypoints.json file located in ./web/first_build #}
119+
{# Using the entrypoints.json file located in ./public/first_build #}
120120
{{ encore_entry_script_tags('app', null, 'firstConfig') }}
121121
{{ encore_entry_link_tags('global', null, 'firstConfig') }}
122122
123-
{# Using the entrypoints.json file located in ./web/second_build #}
123+
{# Using the entrypoints.json file located in ./public/second_build #}
124124
{{ encore_entry_script_tags('mobile', null, 'secondConfig') }}
125125
{{ encore_entry_link_tags('mobile', null, 'secondConfig') }}
126126

0 commit comments

Comments
 (0)