Files
symfony-flex-recipes/symfony/asset-mapper/6.4/importmap.php
T
Thomas LandauerandGitHub f795c3dcaf Removing "auto-generated" info (#1287)
Reason: This creates the impression that this file should not be modified by the user. Whereas at https://symfony.com/doc/current/frontend/asset_mapper.html#page-specific-css-javascript there are instructions to modify this file.
2024-02-01 08:08:55 +01:00

20 lines
532 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.
*/
return [
'app' => [
'path' => './assets/app.js',
'entrypoint' => true,
],
];