diff options
-rw-r--r-- | tpl/resources/resources.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tpl/resources/resources.go b/tpl/resources/resources.go index fe6fd0434..9d663cb46 100644 --- a/tpl/resources/resources.go +++ b/tpl/resources/resources.go @@ -364,8 +364,7 @@ func (ns *Namespace) ToCSS(args ...any) (resource.Resource, error) { } if m != nil { - maps.PrepareParams(m) - if t, found := m["transpiler"]; found { + if t, found := maps.LookupEqualFold(m, "transpiler"); found { switch t { case transpilerDart, transpilerLibSass: transpiler = cast.ToString(t) |