forked from italia/design-web-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
43 lines (40 loc) · 1 KB
/
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
const CONFIG = {}
/*
* Whitelist: use this array of RegEx to include ONLY specific components
* or modules into the final build.
*
* __Example, to include just header + search form + offcanvas:
*
* CONFIG.includes = [
* '(.*)base(.*)',
* '(.*)button(.*)',
* '(.*)components(.*)',
* '(.*)theme(.*)',
* '(.*)utils(.*)',
* '(.*)icons(.*)',
* '(.*)hamburger(.*)',
* '(.*)offcanvas(.*)',
* '(.*)linklist(.*)',
* '(.*)treeview(.*)',
* '(.*)skiplinks(.*)',
* '(.*)form(.*)',
* '(.*)header(.*)'
* ]
*
* @see index.css for possible values
*
*/
CONFIG.includes = []
/*
* Blacklist: use this array of RegEx to exclude specific components
* or modules from the final build.
*
* ie. to exclude all global CSS:
*
* CONFIG.excludes = [ '(.*)base(.*)', '(.*)normalize(.*)' ]
*
* @see index.css for possible values
*
*/
CONFIG.excludes = []
module.exports = CONFIG