Skip to content

Commit 9e30c28

Browse files
committed
Minor tweak
1 parent a258120 commit 9e30c28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/encore/copy-files.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ files into your final output directory. First enable it in ``webpack.config.js``
4242
+ from: './assets/images',
4343
+
4444
+ // optional target path, relative to the output dir
45-
+ //to: 'images/[path][name].[ext]',
45+
+ to: 'images/[path][name].[ext]',
4646
+
4747
+ // if versioning is enabled, add the file hash too
4848
+ //to: 'images/[path][name].[hash:8].[ext]',
@@ -55,8 +55,8 @@ Then restart Encore. When you do, it will give you a command you can run to
5555
install any missing dependencies. After running that command and restarting
5656
Encore, you're done!
5757

58-
This will copy all files from ``assets/images`` into ``public/build`` (the output
59-
path). If you have :doc:`versioning enabled <versioning>`, the copied files will
58+
This will copy all files from ``assets/images`` into ``public/build/images``.
59+
If you have :doc:`versioning enabled <versioning>`, the copied files will
6060
include a hash based on their content.
6161

6262
To render inside Twig, use the ``asset()`` function:

0 commit comments

Comments
 (0)