resources: Add option to silence dependency deprecation warnings

Closes #13530
This commit is contained in:
Joe Mooring
2025-03-27 15:52:46 -07:00
committed by Bjørn Erik Pedersen
parent 6f14dbe24c
commit c15ebce2fd
5 changed files with 75 additions and 7 deletions

View File

@@ -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