generated from dunglas/symfony-docker
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
importmap.php
47 lines (46 loc) · 1.21 KB
/
importmap.php
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
<?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,
],
'@symfony/stimulus-bundle' => [
'path' => '@symfony/stimulus-bundle/loader.js',
],
'@symfony/ux-live-component' => [
'path' => './vendor/symfony/ux-live-component/assets/dist/live_controller.js',
],
'@hotwired/stimulus' => [
'version' => '3.2.2',
],
'leaflet' => [
'version' => '1.9.4',
],
'@symfony/stimulus-bridge' => [
'version' => '3.2.2',
],
'chart.js/auto' => [
'version' => '4.4.3',
],
'@kurkle/color' => [
'version' => '0.3.2',
],
'leaflet/dist/leaflet.min.css' => [
'version' => '1.9.4',
'type' => 'css',
],
'chart.js' => [
'version' => '4.4.3',
],
];