From 975a88791796bc279af6d7f84a2d6d977984f30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 22 Jul 2018 16:42:41 +0200 Subject: [PATCH] Document includePaths Fixes #538 --- content/en/hugo-pipes/scss-sass.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/en/hugo-pipes/scss-sass.md b/content/en/hugo-pipes/scss-sass.md index b08d4be08..baed2b4d0 100755 --- a/content/en/hugo-pipes/scss-sass.md +++ b/content/en/hugo-pipes/scss-sass.md @@ -36,7 +36,10 @@ precision [int] enableSourceMap [bool] : When enabled, a source map will be generated. +includePaths [string slice] +: Additional SCSS/SASS include paths. Paths must be relative to the project directory. + ```go-html-template -{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true) }} +{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules/myscss")) }} {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $options }} -``` \ No newline at end of file +```