Skip to content

Commit

Permalink
chore(docs): correct destination config being optional (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
rivajunior authored Mar 16, 2023
1 parent a7f8827 commit b0a89ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ A File configuration object represents a single output file. The `options` objec

| Attribute | Type | Description |
| :--- | :--- | :--- |
| destination | String (optional) | Location to build the file, will be appended to the buildPath. |
| destination | String | Location to build the file, will be appended to the buildPath. |
| format | String (optional) | [Format](formats.md) used to generate the file. Can be a built-in one or you can create your own via [registerFormat](api.md#registerformat). |
| filter | String/Function/Object (optional) | A function, string or object used to filter the tokens that will be included in the file. If a function is provided, each design token will be passed to the function and the result (true or false) will determine whether the design token is included. If an object is provided, each design token will be matched against the object using a partial deep comparison. If a match is found, the design token is included. If a string is passed, is considered a custom filter registered via [registerFilter](api.md#registerfilter) |
| options | Object (optional) | A set of extra options associated with the file. Includes `showFileHeader` and `outputReferences`. |
Expand Down

0 comments on commit b0a89ca

Please sign in to comment.