From 7664fb4d6bcbd9de49e71a94b9d2caabd7b65260 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 13 Apr 2021 19:04:02 +0200 Subject: [PATCH] docs(configuration): added transformedAssetTypes entry --- packages/docs/src/docs/advanced-config-options.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/docs/src/docs/advanced-config-options.md b/packages/docs/src/docs/advanced-config-options.md index f2323a1bc..19bd1efb3 100644 --- a/packages/docs/src/docs/advanced-config-options.md +++ b/packages/docs/src/docs/advanced-config-options.md @@ -314,6 +314,20 @@ And `"logo"` lets you finetune the different aspects of the logo displayed on th } ``` +### transformedAssetTypes (optional) + +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: + +```javascript +"transformedAssetTypes": [ + "scss" +] +``` + +These template and page patterns would still be accessible via navigation. + +**default**: `[]` + ### uikits 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`.