File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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() ``
115115functions 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
You can’t perform that action at this time.
0 commit comments