Skip to content

Commit 7bc6963

Browse files
committed
[AssetMapper] Minor syntax fix
1 parent 1c6083e commit 7bc6963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/asset_mapper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ you pass to ``importmap()``.
10061006

10071007
If you look at the source of your page, by default, the ``<script type="module">``
10081008
from ``importmap()`` will contain ``import 'app';`` - not something like
1009-
``import ``/assets/app-4e986c1a2318dd050b1d47.js``. Both would work - but
1009+
``import /assets/app-4e986c1a2318dd050b1d47.js``. Both would work - but
10101010
because ``app`` appears in your ``importmap.php``, the browser will read ``app``
10111011
from the ``importmap`` on the page and ultimately load ``/assets/app-4e986c1a2318dd050b1d47.js``
10121012

0 commit comments

Comments
 (0)