Skip to content

Commit 708a044

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Minor formating Renaming W3C to HTML5...
2 parents 2643068 + 45477a2 commit 708a044

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

frontend/asset_mapper.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The AssetMapper component has two main features:
1717
* :ref:`Importmaps <importmaps-javascript>`: A native browser feature that makes it easier
1818
to use the JavaScript ``import`` statement (e.g. ``import { Modal } from 'bootstrap'``)
1919
without a build system. It's supported in all browsers (thanks to a shim)
20-
and is a `W3C standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps>`_.
20+
and is part of the `HTML5 standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps>`_.
2121

2222
Installation
2323
------------
@@ -80,15 +80,16 @@ the file, the version part of the URL will change automatically!
8080
Serving Assets in dev vs prod
8181
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8282

83-
In the ``dev`` environment, the URL - ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png``
84-
is handled and returned by your Symfony app. For the ``prod`` environment, before
85-
deploy, you should run:
83+
In the ``dev`` environment, the URL ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png``
84+
is handled and returned by your Symfony app.
85+
86+
For the ``prod`` environment, before deploy, you should run:
8687

8788
.. code-block:: terminal
8889
8990
$ php bin/console asset-map:compile
9091
91-
This will physically copy all the files from your mapped directories into
92+
This will physically copy all the files from your mapped directories to
9293
``public/assets/`` so that they're served directly by your web server.
9394
See :ref:`Deployment <asset-mapper-deployment>` for more details.
9495

0 commit comments

Comments
 (0)