Dart Sass 1.0.0-beta.3
Pre-release-
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
importeroption torender()andrenderSync(). Only synchronous importers are currently supported.
Dart API
-
Added an
Importerclass. This can be extended by users to provide support for custom resolution for@importrules. -
Added built-in
FilesystemImporterandPackageImporterimplementations that support resolvingfile:andpackage:URLs, respectively. -
Added an
importersargument to thecompile()andcompileString()functions that providesImporters to use when resolving@importrules. -
Added a
loadPathsargument to thecompile()andcompileString()functions that provides paths to search for stylesheets when resolving@importrules. This is a shorthand for passingFilesystemImporters to theimportersargument.