$handle-missing-keys (string | null)
scss
$handle-missing-keys: null !default;
A configuration option to optionally trigger warnings or errors when a token is not found:
null
[default]: Will silently returnnull
(mimicking the built-in Sassmap.get()
function)warn
: Will also throw a warningerror
: Will throw an error, and stop compilation
Since 4.0.0
:
- BREAKING: Removed the
silent
option, to match built-in Sass map access behavior. Defaults tonull
.
Since 2.2.0
:
- NEW: Provides authors with more Sass-like behavior, and more options for managing or testing when a key lookup fails
Author:
James Camilleri