Skip to content

Commit 437c96e

Browse files
authored
docs(configuration): added transformedAssetTypes entry (#1313)
1 parent 50f0f82 commit 437c96e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/docs/src/docs/advanced-config-options.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,20 @@ And `"logo"` lets you finetune the different aspects of the logo displayed on th
314314
}
315315
```
316316

317+
### transformedAssetTypes (optional)
318+
319+
Prevent specific filetypes being copied from your `source` to your `public` folder like e.g. CSS preprocessor source files (`.scss`), you could specify those within an array of your pattern lab config:
320+
321+
```javascript
322+
"transformedAssetTypes": [
323+
"scss"
324+
]
325+
```
326+
327+
These template and page patterns would still be accessible via navigation.
328+
329+
**default**: `[]`
330+
317331
### uikits
318332

319333
Introduced in Pattern Lab Node v3, UIKits are a new term in the Pattern Lab [Ecosystem](/docs/overview-of-pattern-lab's-ecosystem/). They are an evolution of the original Styleguidekit pattern which separated front-end templates from front-end assets like stylesheets and code. The existing `styleguidekit-assets-default` and `styleguidekit-mustache-default` have merged into `uikit-workshop`.

0 commit comments

Comments
 (0)