mirror of
https://github.com/symfony/recipes.git
synced 2026-09-14 16:46:24 +03:00
* 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>
22 lines
602 B
PHP
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,
|
|
],
|
|
];
|