36 lines
1001 B
PHP
36 lines
1001 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,
|
|
],
|
|
'@hotwired/stimulus' => [
|
|
'version' => '3.2.2',
|
|
],
|
|
'@symfony/stimulus-bundle' => [
|
|
'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
|
|
],
|
|
'leaflet' => [
|
|
'version' => '1.9.4',
|
|
],
|
|
'leaflet/dist/leaflet.min.css' => [
|
|
'version' => '1.9.4',
|
|
'type' => 'css',
|
|
],
|
|
'@symfony/ux-leaflet-map' => [
|
|
'path' => './vendor/symfony/ux-leaflet-map/assets/dist/map_controller.js',
|
|
],
|
|
];
|