File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ files into your final output directory.
44
44
+ // optional target path, relative to the output dir
45
45
+ //to: 'images/[path][name].[ext]',
46
46
+
47
+ + // if versioning is enabled, add the file hash too
48
+ + //to: 'images/[path][name].[hash:8].[ext]',
49
+ +
47
50
+ // only copy files matching this pattern
48
51
+ //pattern: /\.(png|jpg|jpeg)$/
49
52
+ })
@@ -52,11 +55,6 @@ This will copy all files from ``assets/images`` into ``web/build`` (the output
52
55
path). If you have :doc: `versioning enabled <versioning >`, the copied files will
53
56
include a hash based on their content.
54
57
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
58
To render inside Twig, use the ``asset() `` function:
61
59
62
60
.. code-block :: html+twig
You can’t perform that action at this time.
0 commit comments