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:
106
106
107
107
# config/packages/webpack_encore.yaml
108
108
webpack_encore :
109
- output_path : ' %kernel.public_dir%/web /default_build'
109
+ output_path : ' %kernel.public_dir%/public /default_build'
110
110
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'
113
113
114
114
Finally, use the third optional parameter of the ``encore_entry_*_tags() ``
115
115
functions to specify which build to use:
116
116
117
117
.. code-block :: twig
118
118
119
- {# Using the entrypoints.json file located in ./web /first_build #}
119
+ {# Using the entrypoints.json file located in ./public /first_build #}
120
120
{{ encore_entry_script_tags('app', null, 'firstConfig') }}
121
121
{{ encore_entry_link_tags('global', null, 'firstConfig') }}
122
122
123
- {# Using the entrypoints.json file located in ./web /second_build #}
123
+ {# Using the entrypoints.json file located in ./public /second_build #}
124
124
{{ encore_entry_script_tags('mobile', null, 'secondConfig') }}
125
125
{{ encore_entry_link_tags('mobile', null, 'secondConfig') }}
126
126
You can’t perform that action at this time.
0 commit comments