diff --git a/package.json b/package.json index dbb49bc728e7..819a1e185e59 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma", "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint", "docs": "npm-run-all docs-build docs-lint", - "docs-build": "hugo --cleanDestinationDir --printUnusedTemplates", + "docs-build": "PATH=$(npm config get prefix)/bin:$PATH hugo --cleanDestinationDir --printUnusedTemplates", "docs-compile": "npm run docs-build", "docs-vnu": "node build/vnu-jar.mjs", "docs-lint": "npm run docs-vnu", @@ -163,9 +163,6 @@ "scss/**/*.scss", "!scss/tests/**" ], - "hugo-bin": { - "buildTags": "extended" - }, "jspm": { "registry": "npm", "main": "js/bootstrap", diff --git a/site/layouts/partials/stylesheet.html b/site/layouts/partials/stylesheet.html index 9969ee44fc4f..77dd361134e0 100644 --- a/site/layouts/partials/stylesheet.html +++ b/site/layouts/partials/stylesheet.html @@ -9,7 +9,7 @@ {{- end }} {{- if (ne .Page.Layout "examples") }} -{{- $sassOptions := dict "outputStyle" "expanded" "precision" 6 -}} +{{- $sassOptions := dict "transpiler" "dartsass" "outputStyle" "expanded" "precision" 6 -}} {{- $postcssOptions := dict "use" "autoprefixer" "noMap" true -}} {{- $targetDocsCssPath := path.Join "/docs" .Site.Params.docs_version "assets/css/docs.css" -}}