mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Add Dart Sass support
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021. Fixes #7380 Fixes #8102
This commit is contained in:
@@ -98,6 +98,7 @@ func TestTemplateFuncsExamples(t *testing.T) {
|
||||
depsCfg := newDepsConfig(v)
|
||||
depsCfg.Fs = fs
|
||||
d, err := deps.New(depsCfg)
|
||||
defer d.Close()
|
||||
c.Assert(err, qt.IsNil)
|
||||
|
||||
var data struct {
|
||||
@@ -163,6 +164,7 @@ func TestPartialCached(t *testing.T) {
|
||||
|
||||
de, err := deps.New(config)
|
||||
c.Assert(err, qt.IsNil)
|
||||
defer de.Close()
|
||||
c.Assert(de.LoadResources(), qt.IsNil)
|
||||
|
||||
ns := partials.New(de)
|
||||
@@ -216,6 +218,7 @@ func doBenchmarkPartial(b *testing.B, f func(ns *partials.Namespace) error) {
|
||||
|
||||
de, err := deps.New(config)
|
||||
c.Assert(err, qt.IsNil)
|
||||
defer de.Close()
|
||||
c.Assert(de.LoadResources(), qt.IsNil)
|
||||
|
||||
ns := partials.New(de)
|
||||
|
Reference in New Issue
Block a user