mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
resources: Add option to silence dependency deprecation warnings
Closes #13530
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
6f14dbe24c
commit
c15ebce2fd
@@ -86,10 +86,11 @@ func (t *transform) Transform(ctx *resources.ResourceTransformationCtx) error {
|
||||
|
||||
varsStylesheet: godartsass.Import{Content: sass.CreateVarsStyleSheet(sass.TranspilerDart, opts.Vars)},
|
||||
},
|
||||
OutputStyle: godartsass.ParseOutputStyle(opts.OutputStyle),
|
||||
EnableSourceMap: opts.EnableSourceMap,
|
||||
SourceMapIncludeSources: opts.SourceMapIncludeSources,
|
||||
SilenceDeprecations: opts.SilenceDeprecations,
|
||||
OutputStyle: godartsass.ParseOutputStyle(opts.OutputStyle),
|
||||
EnableSourceMap: opts.EnableSourceMap,
|
||||
SourceMapIncludeSources: opts.SourceMapIncludeSources,
|
||||
SilenceDeprecations: opts.SilenceDeprecations,
|
||||
SilenceDependencyDeprecations: opts.SilenceDependencyDeprecations,
|
||||
}
|
||||
|
||||
// Append any workDir relative include paths
|
||||
|
Reference in New Issue
Block a user