Skip to content

Releases: jgranstrom/sass-extract

3.0.0

25 Oct 18:13
Compare
Choose a tag to compare

2.1.0

17 Jan 13:11
Compare
Choose a tag to compare
v2.1.0

chore(release): 2.1.0

v2.0.0

02 Dec 19:19
Compare
Choose a tag to compare

npm install sass-extract@2

  • Parser replaced to support more advanced language features such as variable arguments
  • Better precision for complex variable definitions when used with mixins, functions and default overrides commonly found in scss frameworks and theme tools
  • Better precision for nested block global variables such as inside @if statements in @function
  • Plugins can now be configured on a per run basis using the extraction apis extract/render
  • Various compatibility fixes
  • List separators are exposed and used in serialization of variables for more consistent behavior
  • Tested against the entire scss source of foundation-sites (!)

See detailed changelog

v1.0.0

10 Sep 16:27
Compare
Choose a tag to compare
  • Parser rewritten to use the source AST instead of regex to identify variable declarations
  • True sass maps supported with arbitrary key types by properly serializing key values
  • Plugin support added for manipulating behavior and output of extraction
  • Proper support for default flag
  • Fix behavior of multiple overriding variable declarations within the same source file
  • Support global flags specified for variables in function and mixin definitions
  • Fix color extraction rounding bug