Skip to content

Adding folder name #16128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions frontend/encore/versioning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ To link to these assets, Encore creates two files ``entrypoints.json`` and
Loading Assets from ``entrypoints.json`` & ``manifest.json``
------------------------------------------------------------

Whenever you run Encore, two configuration files are generated: ``entrypoints.json``
Whenever you run Encore, two configuration files are generated in your
output folder (default location: ``public/build/``): ``entrypoints.json``
and ``manifest.json``. Each file is similar, and contains a map to the final, versioned
filename.
filenames.

The first file - ``entrypoints.json`` - is used by the ``encore_entry_script_tags()``
The first file ``entrypoints.json`` is used by the ``encore_entry_script_tags()``
and ``encore_entry_link_tags()`` Twig helpers. If you're using these, then your
CSS and JavaScript files will render with the new, versioned filename. If you're
not using Symfony, your app will need to read this file in a similar way.
Expand Down