-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
49 lines (48 loc) · 1.62 KB
/
Copy pathconfig.php
File metadata and controls
49 lines (48 loc) · 1.62 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
<?php
return [
'package' => [
'module' => 'Photo Gallery',
'version' => '1.0',
],
'imageBrowser' => [
'containers' => [
'galleries' => [
'storage' => 'images/gallery',
'url' => '/images/gallery/',
],
],
],
'compiler' => [
'js' => [
'lightningsdk/photogallery' => [
'js/photogallery.js' => 'photogallery.js',
'node_modules/photoswipe/dist/photoswipe.min.js' => 'photogallery.js',
'node_modules/photoswipe/dist/photoswipe-ui-default.min.js' => 'photogallery.js',
],
],
'css' => [
'lightningsdk/photogallery' => [
'node_modules/photoswipe/dist/photoswipe.css' => 'photogallery/pg.css',
'node_modules/photoswipe/dist/default-skin/default-skin.css' => 'photogallery/pg.css',
],
],
'copy' => [
'lightningsdk/photogallery' => [
'node_modules/photoswipe/dist/default-skin/default-skin.png' => 'css/photogallery',
'node_modules/photoswipe/dist/default-skin/default-skin.svg' => 'css/photogallery',
],
],
'npm' => [
'photoswipe',
],
],
'routes' => [
'static' => [
'admin/galleries' => \lightningsdk\photogallery\Pages\AdminGalleries::class,
'admin/galleries/images' => \lightningsdk\photogallery\Pages\AdminImages::class,
],
'dynamic' => [
'^gallery(/.*)?$' => \lightningsdk\photogallery\Pages\Gallery::class,
],
],
];