Files
symfony-flex-recipes/symfony/asset-mapper/6.4/importmap.php
T
Ryan WeaverandGitHub 0fcca50482 Asset mapper install as composer script (#1267)
* import map -> importmap to match Symfony core generation

* [symfony/asset-mapper] Adding importmap:install as a composer script
2023-12-10 18:35:15 +01:00

22 lines
599 B
PHP

<?php
/**
* Returns the importmap 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,
],
];