File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ The AssetMapper component has two main features:
21
21
* :ref: `Importmaps <importmaps-javascript >`: A native browser feature that makes it easier
22
22
to use the JavaScript ``import `` statement (e.g. ``import { Modal } from 'bootstrap' ``)
23
23
without a build system. It's supported in all browsers (thanks to a shim)
24
- and is a ` W3C standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps >`_.
24
+ and is part of the ` HTML5 standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps >`_.
25
25
26
26
Installation
27
27
------------
@@ -84,15 +84,16 @@ the file, the version part of the URL will change automatically!
84
84
Serving Assets in dev vs prod
85
85
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86
86
87
- In the ``dev `` environment, the URL - ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png ``
88
- is handled and returned by your Symfony app. For the ``prod `` environment, before
89
- deploy, you should run:
87
+ In the ``dev `` environment, the URL ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png ``
88
+ is handled and returned by your Symfony app.
89
+
90
+ For the ``prod `` environment, before deploy, you should run:
90
91
91
92
.. code-block :: terminal
92
93
93
94
$ php bin/console asset-map:compile
94
95
95
- This will physically copy all the files from your mapped directories into
96
+ This will physically copy all the files from your mapped directories to
96
97
``public/assets/ `` so that they're served directly by your web server.
97
98
See :ref: `Deployment <asset-mapper-deployment >` for more details.
98
99
You can’t perform that action at this time.
0 commit comments