From 48994ea766f08332f57c0f8e74843b6c8617c3d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 31 Dec 2020 11:18:54 +0100 Subject: [PATCH] dartsass: Dart Sass only supports `expanded` and `compressed` --- docs/content/en/hugo-pipes/scss-sass.md | 2 +- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/content/en/hugo-pipes/scss-sass.md b/docs/content/en/hugo-pipes/scss-sass.md index 0cea1254f..5f51e24c9 100755 --- a/docs/content/en/hugo-pipes/scss-sass.md +++ b/docs/content/en/hugo-pipes/scss-sass.md @@ -33,7 +33,7 @@ targetPath [string] : If not set, the resource's target path will be the asset file original path with its extension replaced by `.css`. outputStyle [string] -: Default is `nested`. Other available output styles are `expanded`, `compact` and `compressed`. +: Default is `nested` (LibSass) and `expanded` (Dart Sass). Other available output styles for LibSass are `expanded`, `compact` and `compressed`. Dart Sass only supports `expanded` and `compressed`. precision [int] : Precision of floating point math. **Note:** This option is not supported by Dart Sass. diff --git a/go.mod b/go.mod index 3de1794f3..c6f95a117 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/aws/aws-sdk-go v1.35.0 github.com/bep/debounce v1.2.0 github.com/bep/gitmap v1.1.2 - github.com/bep/godartsass v0.10.0 + github.com/bep/godartsass v0.11.0 github.com/bep/golibsass v0.7.0 github.com/bep/tmc v0.5.1 github.com/cli/safeexec v1.0.0 diff --git a/go.sum b/go.sum index 1e0c2bcab..645087bc0 100644 --- a/go.sum +++ b/go.sum @@ -128,6 +128,8 @@ github.com/bep/gitmap v1.1.2 h1:zk04w1qc1COTZPPYWDQHvns3y1afOsdRfraFQ3qI840= github.com/bep/gitmap v1.1.2/go.mod h1:g9VRETxFUXNWzMiuxOwcudo6DfZkW9jOsOW0Ft4kYaY= github.com/bep/godartsass v0.10.0 h1:PKdceJOBYlLlviRX4U14SkwJQVTclzZ6cghKBEaTlw0= github.com/bep/godartsass v0.10.0/go.mod h1:nXQlHHk4H1ghUk6n/JkYKG5RD43yJfcfp5aHRqT/pc4= +github.com/bep/godartsass v0.11.0 h1:62x1zaOzIP2NUzFb3Wob6sNyrtMp0JN61FFg30yQVb8= +github.com/bep/godartsass v0.11.0/go.mod h1:nXQlHHk4H1ghUk6n/JkYKG5RD43yJfcfp5aHRqT/pc4= github.com/bep/golibsass v0.7.0 h1:/ocxgtPZ5rgp7FA+mktzyent+fAg82tJq4iMsTMBAtA= github.com/bep/golibsass v0.7.0/go.mod h1:DL87K8Un/+pWUS75ggYv41bliGiolxzDKWJAq3eJ1MA= github.com/bep/tmc v0.5.1 h1:CsQnSC6MsomH64gw0cT5f+EwQDcvZz4AazKunFwTpuI=