diff --git a/packages/docs/src/docs/pattern-managing-assets.md b/packages/docs/src/docs/pattern-managing-assets.md index 2f99b5879..5e1e910a6 100644 --- a/packages/docs/src/docs/pattern-managing-assets.md +++ b/packages/docs/src/docs/pattern-managing-assets.md @@ -50,6 +50,15 @@ Pattern Lab has a configuration object which allows users to separate source pat Note how some sets of files even extend into the "vendor" `./node_modules/` directory. Relative paths are the default but absolute paths are supported also. You may also use these paths within the Grunt or Gulp taskfiles by referring to the `paths()` function. +## Preventing specific filetypes from being copied + +If you'd like to prevent specific filetypes from 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: +``` json +{ + "transformedAssetTypes": ["scss"], +} +``` + ## Adding Assets to the Pattern Header & Footer Static assets like Javascript and CSS **are not** added automagically to your patterns. You need to add them manually to the [shared pattern header and footer](/docs/modifying-the-pattern-header-and-footer/).