importmap.php 876 B

1234567891011121314151617181920212223242526272829303132
  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. 'main' => [
  19. 'path' => './assets/js/main.js',
  20. 'entrypoint' => true,
  21. ],
  22. '@hotwired/stimulus' => [
  23. 'version' => '3.2.2',
  24. ],
  25. '@symfony/stimulus-bundle' => [
  26. 'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
  27. ],
  28. '@hotwired/turbo' => [
  29. 'version' => '7.3.0',
  30. ],
  31. ];