This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaem.config.js
107 lines (104 loc) · 2.03 KB
/
aem.config.js
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
window.AEM_CONFIG = {
// Bricks
bricks: [
{
route: /.*/,
name: 'aem-root',
template: true,
},
{
route: /.*/,
name: 'aem-menu',
selector: '.menu',
template: true,
},
{
route: /.*/,
name: 'aem-hero',
selector: '.hero',
template: true,
},
{
route: /.*/,
name: 'aem-columns',
selector: '.columns',
template: true,
},
{
route: /.*/,
name: 'aem-section-metadata',
selector: '.section-metadata',
template: false,
},
],
// ESM Modules
modules: [
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-app/fn-app.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-content/fn-content.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-content/fn-content.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-section/fn-section.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-header/fn-header.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-image/fn-image.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-link/fn-link.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-logo/fn-logo.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-columns/fn-columns.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-hero/fn-hero.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-footer/fn-footer.js',
},
{
route: /.*/,
path: '/vendors/fn-ui/components/fn-binary/fn-binary.js',
},
],
// Styles
styles: [
{
route: /.*/,
path: '/vendors/fn-ui/styles/fn.css',
},
// {
// route: /.*/,
// path: '/vendors/fn-ui/styles/fonts.css',
// lazy: true,
// },
],
// Prefetch Data
initialData: [
{
route: /.*/,
path: '/query-index.json',
},
],
};