Skip to content

Commit f636720

Browse files
committed
feat: add the debugger.sass_transpiler parameter, default to dartsass
1 parent 6d59189 commit f636720

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

hugo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ weight = 1
1010
[params.hugopress.modules.debugger.hooks.body-end]
1111

1212
[params.debugger]
13+
sass_transpiler = "dartsass"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{- $opts := dict
22
"targetPath" "css/debugger.css"
3+
"transpiler" (default "dartsass" site.Params.debugger.sass_transpiler)
34
}}
45
{{- $css := resources.Get "mods/debugger/scss/index.scss" | toCSS $opts }}
56
<link rel="stylesheet" href="{{ $css.RelPermalink }}">

0 commit comments

Comments
 (0)