Performance Improvements & Error Handling
- NEW: (#41) Global
$handle-missing-keysallows you to control exactly what should happen when a key look-up fails. The defaultsilentprovides backwards-compatible silent-failure. Other options include:null:get-token()will returnnull, similar to Sassmap.get()warn:get-token()will returnnull, and also throw a warningerror:get-token()will throw an error if the value is not found
- NEW:
\\(an escaped backslash) can be used to ignore (\\#not-an-alias) or end (#alias\\not-part-of-alias) a#reference - INTERNAL: (#41) Major performance improvements to the token look-up algorithm
Huge thanks to James Camilleri (@jcamilleri13) for all the improvements here.