PostCSS v1.0 Release Notes
-
- ๐พ Save previous source map for each node to support CSS concatenation with multiple previous maps.
- โ Add
map.sourcesContent
option to add origin content tosourcesContent
inside map. - ๐ Allow to set different place of output map in annotation comment.
- ๐ Allow to use arrays and
Root
inContainer#append
and same methods. - โ Add
Root#prevMap
with information about previous map. - ๐ Allow to use latest PostCSS from GitHub by npm.
Result
now is lazy and it will generate output CSS only if you usecss
ormap
property.- ๐ Use separated
map.prev
option to set previous map. - ๐ Rename
inlineMap
option tomap.inline
. - ๐ Rename
mapAnnotation
option tomap.annotation
. Result#map
now returnSourceMapGenerator
object, instead of string.- โ Run previous map autodetect only if input CSS contains annotation comment.
- โ Add
map: 'inline'
shortcut formap: { inline: true }
option. Node#source.file
now will contains absolute path.- ๐
Clean
Declaration#between
style on node clone.