Skip to content

Commit ca5f575

Browse files
committed
minor #13860 corrected tags order (nabbisen)
This PR was submitted for the 5.1 branch but it was merged into the 3.4 branch instead. Discussion ---------- corrected tags order <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> #### Reference [`symfony/webpack-encore-bundle` - `README.md`](https://github.com/symfony/webpack-encore-bundle): > For example, to render all of the script and link tags for a specific "entry" (e.g. entry1), you can: > [...] > Assuming that entry1 required two files to be included - `build/vendor~entry1~entry2.js` and `build/entry1.js`, then `encore_entry_script_tags()` is equivalent to: > > `<script src="{{ asset('build/vendor~entry1~entry2.js') }}"></script>` > `<script src="{{ asset('build/entry1.js') }}"></script>` Commits ------- 77b5690 corrected tags order
2 parents 13b2fc5 + 77b5690 commit ca5f575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/encore/split-chunks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ tags as needed:
3838
{#
3939
May now render multiple script tags:
4040
<script src="/build/runtime.js"></script>
41-
<script src="/build/homepage.js"></script>
4241
<script src="/build/vendor~homepage.js"></script>
42+
<script src="/build/homepage.js"></script>
4343
#}
4444
{{ encore_entry_script_tags('homepage') }}
4545

0 commit comments

Comments
 (0)