Changelog
2.1.2
sourcesContent
if there is no from
and to
options.Changelog
2.1.1
to
and from
options for inline source maps.Node#source.id
if file name is unknown.map.sourcesContent
option to add origin content to sourcesContent
inside map.Root
in Container#append
and same methods.Root#prevMap
with information about previous map.Result
now is lazy and it will generate output CSS only if you use css
or map
property.map.prev
option to set previous map.inlineMap
option to map.inline
.mapAnnotation
option to map.annotation
.Result#map
now return SourceMapGenerator
object, instead of string.map: 'inline'
shortcut for map: { inline: true }
option.Node#source.file
now will contains absolute path.Declaration#between
style on node clone.Changelog
0.3.5
Root
or Result
as first argument in process()
.Result#root
.Changelog
0.3.1
Rule#selectors
(by Simon Lydell).Comment
node for comments between declarations or rules.first
and last
shortcuts to container nodes.!important
to separated property in Declaration
.false
.eachInside
method to recursively iterate all nodes.selectors
shortcut to get selectors array.toResult
method to Rule
to simplify work with several input files.value
, rule’s selector
and at-rule’s params
by storing spaces in between
property.process()
now returns object with css
and map
keys.file
to from
.Node#remove()
method to removeSelf()
to fix name conflict.source
property with origin file
and node end position.