diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-21 16:25:19 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-21 17:27:45 +0100 |
commit | cf7023cb90f70cb2189d562ad8e8e9a66e6eb46e (patch) | |
tree | 780e05067f3b60b34533782151689b8e3a48cee4 /resources | |
parent | fd0185a84a677c836fbe4defec040b77e6deea49 (diff) | |
download | hugo-cf7023cb90f70cb2189d562ad8e8e9a66e6eb46e.tar.gz hugo-cf7023cb90f70cb2189d562ad8e8e9a66e6eb46e.zip |
Fix relative import issue in libsass/dart sass
Fixes #12094
Diffstat (limited to 'resources')
-rw-r--r-- | resources/transform.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/transform.go b/resources/transform.go index 408decbb8..b9cbab824 100644 --- a/resources/transform.go +++ b/resources/transform.go @@ -446,7 +446,7 @@ func (r *resourceAdapter) transform(key string, publish, setContent bool) (*reso tctx.To = b1 tctx.InPath = r.target.TargetPath() - tctx.SourcePath = tctx.InPath + tctx.SourcePath = strings.TrimPrefix(tctx.InPath, "/") counter := 0 writeToFileCache := false |