Files
symfony-flex-recipes/symfony/asset-mapper/6.4/importmap.php
T
dc52796fba fix importmap for assetmapper 6.4 (#1245)
* fix default importmap

* fix paths and add entrypoint comment

* remove adding stylesheet line in base.html.twig

* Update symfony/asset-mapper/6.4/manifest.json

Co-authored-by: Ryan Weaver <weaverryan+github@gmail.com>

* ignore assets/vendor

* revert to 6.3

---------

Co-authored-by: Ryan Weaver <weaverryan+github@gmail.com>
2023-10-17 15:15:18 +02:00

22 lines
602 B
PHP

<?php
/**
* Returns the import map for this application.
*
* - "path" is a path inside the asset mapper system. Use the
* "debug:asset-map" command to see the full list of paths.
*
* - "entrypoint" (JavaScript only) set to true for any module that will
* be used as an "entrypoint" (and passed to the importmap() Twig function).
*
* The "importmap:require" command can be used to add new entries to this file.
*
* This file has been auto-generated by the importmap commands.
*/
return [
'app' => [
'path' => './assets/app.js',
'entrypoint' => true,
],
];