You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

5 months ago
  1. <?php
  2. /**
  3. * Returns the importmap for this application.
  4. *
  5. * - "path" is a path inside the asset mapper system. Use the
  6. * "debug:asset-map" command to see the full list of paths.
  7. *
  8. * - "entrypoint" (JavaScript only) set to true for any module that will
  9. * be used as an "entrypoint" (and passed to the importmap() Twig function).
  10. *
  11. * The "importmap:require" command can be used to add new entries to this file.
  12. */
  13. return [
  14. 'app' => [
  15. 'path' => './assets/app.js',
  16. 'entrypoint' => true,
  17. ],
  18. 'bootstrap' => [
  19. 'version' => '5.3.3',
  20. ],
  21. '@popperjs/core' => [
  22. 'version' => '2.11.8',
  23. ],
  24. 'bootstrap/dist/css/bootstrap.min.css' => [
  25. 'version' => '5.3.3',
  26. 'type' => 'css',
  27. ],
  28. 'leaflet' => [
  29. 'version' => '1.9.4',
  30. ],
  31. 'leaflet/dist/leaflet.min.css' => [
  32. 'version' => '1.9.4',
  33. 'type' => 'css',
  34. ],
  35. '@hotwired/stimulus' => [
  36. 'version' => '3.2.2',
  37. ],
  38. '@symfony/stimulus-bundle' => [
  39. 'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
  40. ],
  41. ];