-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclientlib.config.js
More file actions
36 lines (34 loc) · 859 Bytes
/
clientlib.config.js
File metadata and controls
36 lines (34 loc) · 859 Bytes
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
/**
* Configuration file for aem-clientlib-generator
*/
module.exports = {
// default working directory (can be changed per 'cwd' in every asset option)
context: __dirname,
// path to the clientlib root folder (output)
clientLibRoot: 'dist/clientlibs',
// define all clientlib options here as array... (multiple clientlibs)
libs: [
{
name: 'example',
assets: {
js: [
'src/js/*.js'
],
css: [
'src/css/*.css'
]
},
// Clientlib categories this will register to
categories: [
'mygroup.myapp.clientlibs'
],
// Prevent AEM from minifying JS bundle with ancient YUI
jsProcessor: [
'default:none',
'min:none'
],
// Package format XML for vault or JSON for SLING-INF
serializationFormat: 'xml'
}
]
}