We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de47b4 commit 1a33da0Copy full SHA for 1a33da0
frontend/encore/copy-files.rst
@@ -52,6 +52,11 @@ This will copy all files from ``assets/images`` into ``web/build`` (the output
52
path). If you have :doc:`versioning enabled <versioning>`, the copied files will
53
include a hash based on their content.
54
55
+.. note::
56
+
57
+ If order to use versioning with with custom target path (``to``), you need to
58
+ update to path to include the file hash: ``images/[path][name].[hash:8].[ext]``.
59
60
To render inside Twig, use the ``asset()`` function:
61
62
.. code-block:: html+twig
0 commit comments