-
Properly parse numbers with exponents.
-
Don't crash when evaluating CSS variables whose names are entirely interpolated (for example,
#{--foo}: ...
).
Node JS API
- Add support for the
importer
option torender()
andrenderSync()
. Only synchronous importers are currently supported.
Dart API
-
Added an
Importer
class. This can be extended by users to provide support for custom resolution for@import
rules. -
Added built-in
FilesystemImporter
andPackageImporter
implementations that support resolvingfile:
andpackage:
URLs, respectively. -
Added an
importers
argument to thecompile()
andcompileString()
functions that providesImporter
s to use when resolving@import
rules. -
Added a
loadPaths
argument to thecompile()
andcompileString()
functions that provides paths to search for stylesheets when resolving@import
rules. This is a shorthand for passingFilesystemImporter
s to theimporters
argument.