Repository navigation
Expand file tree
/
Copy pathimportmap.php
More file actions
65 lines (64 loc) · 1.81 KB
/
Copy pathimportmap.php
File metadata and controls
65 lines (64 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* Copyright 2025 (C) IDMarinas - All Rights Reserved
*
* Last modified by "IDMarinas" on 19/10/2025, 18:50
*
* @project IDMarinas Template Symfony
* @see https://github.com/idmarinas/template-symfony
*
* @file importmap.php
* @date 07/05/2025
* @time 22:07
*
* @author Iván Diaz Marinas (IDMarinas)
* @license BSD 3-Clause License
*
* @since 1.0.0
*/
/**
* 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,
],
'exception_error' => [
'path' => './assets/exception_error.js',
'entrypoint' => true,
],
'web' => [
'path' => './apps/web/assets/web.js',
'entrypoint' => true,
],
'@hotwired/stimulus' => [
'version' => '3.2.2',
],
'@symfony/stimulus-bundle' => [
'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
],
'@hotwired/turbo' => [
'version' => '7.3.0',
],
'@stimulus-components/notification' => [
'version' => '3.0.0',
],
'stimulus-use' => [
'version' => '0.52.3',
],
'@stimulus-components/dialog' => [
'version' => '1.0.1',
],
'hotkeys-js' => [
'version' => '3.13.14',
],
];