Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add env var to silence SASS deprecation warnings (#32074)

Martin Brennanb8dcabc2ac38
diff --git a/lib/stylesheet/compiler.rb b/lib/stylesheet/compiler.rb
index 5034f6a501e..003410e8032 100644
--- a/lib/stylesheet/compiler.rb
+++ b/lib/stylesheet/compiler.rb
@@ -63,6 +63,7 @@ module Stylesheet
source_map_contents: true,
load_paths: load_paths,
silence_deprecations: %w[color-functions import global-builtin],
+ quiet: ENV["QUIET_SASS_DEPRECATIONS"] == "1",
)
result = engine.render