Changelog
1.5.0
Fix a bug where an importer would be passed an incorrectly-resolved URL when handling a relative import.
Throw an error when an import is ambiguous due to a partial and a non-partial with the same name, or multiple files with different extensions. This matches the standard Sass behavior.
--interactive
flag that supports interactively running Sass
expressions (thanks to [Jen Thakar][]!).Changelog
1.4.0
Improve the error message for invalid semicolons in the indented syntax.
Properly disallow semicolons after declarations in the indented syntax.
Add support for compiling multiple files at once by writing
sass input.scss:output.css
. Note that unlike Ruby Sass, this always
compiles files by default regardless of when they were modified.
This syntax also supports compiling entire directories at once. For example,
sass templates/stylesheets:public/css
compiles all non-partial Sass files
in templates/stylesheets
to CSS files in public/css
.
Add an --update
flag that tells Sass to compile only stylesheets that have
been (transitively) modified since the CSS file was generated.
Importer.modificationTime()
and AsyncImporter.modificationTime()
which
report the last time a stylesheet was modified.sourceMaps
option is set to a string and the
outFile
option is not set.Changelog
1.3.2
@elseif
as an alias of @else if
. This is not an
intentional feature, so using it will cause a deprecation warning. It will be
removed at some point in the future.Changelog
1.3.1
Changelog
1.3.0
Generate source map files by default when writing to disk. This can be
disabled by passing --no-source-map
.
Add a --source-map-urls
option to control whether the source file URLs in
the generated source map are relative or absolute.
Add an --embed-sources
option to embed the contents of all source files in
the generated source map.
Add an --embed-source-map
option to embed the generated source map as a
data:
URL in the generated CSS.
sourceMap
parameter to compile()
, compileString()
,
compileAsync()
, and compileStringAsync()
. This takes a callback that's
called with a [SingleMapping
][] that contains the source map information for
the compiled CSS file.Added support for the sourceMap
, omitSourceMapUrl
, outFile
,
sourceMapContents
, sourceMapEmbed
, and sourceMapRoot
options to
render()
and renderSync()
.
Fix a bug where passing a relative path to render()
or renderSync()
would
cause relative imports to break.
Fix a crash when printing warnings in stylesheets compiled using render()
or
renderSync()
.
Fix a bug where format errors were reported badly on Windows.
Changelog
1.2.1
0
dimensions other than lengths and
angles.Changelog
1.2.0
The command-line executable will now create the directory for the resulting CSS if that directory doesn't exist.
Properly parse #{$var} -#{$var}
as two separate values in a list rather than
one value being subtracted from another.
Improve the error message for extending compound selectors.
Changelog
1.1.0
The command-line executable can now be used to write an output file to disk
using sass input.scss output.css
.
Use a POSIX-shell-compatible means of finding the location of the sass
shell
script.