You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| options | <code>object</code> | an object used to control build behavior|
117
-
| options.cleanPublic | <code>bool</code> | whether or not to delete the configured output location (usually `public/`) before build|
118
-
| options.data | <code>object</code> | additional data to be merged with global data prior to build|
119
-
| options.watch | <code>bool</code>|**ALWAYS OVERRIDDEN to `true`** whether or not Pattern Lab should watch configured `source/` directories for changes to rebuild |
109
+
| Param | Type | Description |
110
+
| --- | --- | --- |
111
+
| options | <code>object</code> | an object used to control build behavior |
112
+
| options.cleanPublic | <code>bool</code> | whether or not to delete the configured output location (usually `public/`) before build |
113
+
| options.data | <code>object</code> | additional data to be merged with global data prior to build |
114
+
| options.watch | <code>bool</code> |**ALWAYS OVERRIDDEN to `true`** whether or not Pattern Lab should watch configured `source/` directories for changes to rebuild |
120
115
121
-
---
116
+
* * *
122
117
123
118
[Pattern Lab](http://patternlab.io) Node is [MIT Licensed](https://github.com/pattern-lab/patternlab-node/blob/master/LICENSE)
Emitted before any logic run inside `build()`, which is the entry point for single builds, pattern-only builds, run singly or when watched.
26
26
27
-
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
27
+
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
28
28
**Properties**
29
29
30
30
| Name | Type | Description |
@@ -37,7 +37,7 @@ Emitted before any logic run inside `build()`, which is the entry point for sing
37
37
38
38
Emitted after patterns are iterated over to gather data about them. Right before Pattern Lab processes and renders patterns into HTML
39
39
40
-
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
40
+
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
41
41
**Properties**
42
42
43
43
| Name | Type | Description |
@@ -50,7 +50,7 @@ Emitted after patterns are iterated over to gather data about them. Right before
50
50
51
51
Emitted after global `data.json` and `listitems.json` are read, and the supporting Pattern Lab templates are loaded into memory (header, footer, patternSection, patternSectionSubType, viewall). Right before patterns are iterated over to gather data about them.
52
52
53
-
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
53
+
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
54
54
**Properties**
55
55
56
56
| Name | Type | Description |
@@ -63,8 +63,8 @@ Emitted after global `data.json` and `listitems.json` are read, and the supporti
63
63
64
64
Emitted before all data is merged prior to a Pattern's render. Global `data.json` is merged with any pattern `.json`. Global `listitems.json` is merged with any pattern `.listitems.json`.
65
65
66
-
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
@@ -108,7 +108,7 @@ Emitted after a pattern's template, HTML, and encoded HTML files are written to
108
108
109
109
Invoked when a watched asset changes. Assets include anything in `source/` that is not under `['root', 'patterns', 'data', 'meta', 'annotations', 'patternlabFiles']` which are blacklisted for specific copying.
110
110
111
-
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
111
+
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
112
112
**Properties**
113
113
114
114
| Name | Type | Description |
@@ -121,7 +121,7 @@ Invoked when a watched asset changes. Assets include anything in `source/` that
121
121
122
122
Invoked when a watched global file changes. These are files within the directories specified in `['data', 'meta']`paths.
123
123
124
-
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
124
+
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
125
125
**Properties**
126
126
127
127
| Name | Type | Description |
@@ -134,7 +134,7 @@ Invoked when a watched global file changes. These are files within the directori
134
134
135
135
Invoked when a pattern changes.
136
136
137
-
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
137
+
**Kind**: inner property of [<code>EVENTS</code>](#exp_module_Events--EVENTS)
0 commit comments