8000 fix typo in filename · symfony/symfony-docs@c7a86fc · GitHub
[go: up one dir, main page]

Skip to content

Commit c7a86fc

Browse files
author
Ousmane NDIAYE
authored
fix typo in filename
Filename should be "manifest.json" instead of "manifest.js"
1 parent 583d021 commit c7a86fc
8000

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/encore/shared-entry.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on your page before any other JavaScript file:
3232
.. code-block:: twig
3333
3434
<!-- these two files now must be included in every page -->
35-
<script src="{{ asset('build/manifest.js') }}"></script>
35+
<script src="{{ asset('build/manifest.json') }}"></script>
3636
<script src="{{ asset('build/vendor.js') }}"></script>
3737
3838
<!-- here you link to the specific JS files needed by the current page -->
@@ -42,7 +42,7 @@ on your page before any other JavaScript file:
4242
<link rel="stylesheet" href="{{ asset('build/vendor.css') }}" />
4343
4444
The ``vendor.js`` file contains all the common code that has been extracted from
45-
the other files, so it's obvious that it must be included. The other file (``manifest.js``)
45+
the other files, so it's obvious that it must be included. The other file (``manifest.json``)
4646
is less obvious: it's needed so that Webpack knows how to load those shared modules.
4747

4848
.. tip::

0 commit comments

Comments
 (0)
0