Changelog
2.1.0 (May 8, 2016)
comments
to specify what comments to left: exclamation
, first-exclamation
and none
offset
to CSS parse error detailsoffset
computationChangelog
2.0.0 (April 5, 2016)
gonzales
AST format and related codeminify()
and minifyBlock()
is always return an object as result now (i.e. { css: String, map: SourceMapGenerator or null }
)parse()
internal
)context
argument, context should be specified via options
stylesheet
, atrule
, atruleExpression
, ruleset
, selector
, simpleSelector
, block
, declaration
and value
needPositions
option, positions
option should be used insteadneedInfo
option, info
object is attaching to nodes when some information is requested by options
options
should be an object, otherwise it treats as empty objectcompress()
outputAst
option{ ast: Object }
)justDoIt()
, stringify()
, cleanInfo()
Changelog
1.8.1 (March 30, 2016)
Changelog
1.8.0 (March 24, 2016)
--usage
to pass usage data file.csso.minifyBlock()
for css block compression (e.g. style
attribute content).@media
or @supports
) now can be skipped during ruleset merge lookup if doesn't contain something prevents it.:not()
) to pseudo signature to avoid unsafe merge (old browsers doesn't support it).Changelog
1.7.1 (March 16, 2016)
//
hack@import
and @charset
removal on double exclamation commentChangelog
1.7.0 (March 10, 2016)
!important
when check for property overriding (#280)text-align
declarations with some values (#281)/deep/
combinator on translate, since it together with universal selector can produce a commentlogger
option for compress()
and minify()
Changelog
1.6.3 (February 29, 2016)
file
to generated source map since other tools can relay on it in source map transform chainChangelog
1.6.2 (February 29, 2016)
:not()
parsing and selector groups in :not()
is supported now (#215)needPosition
parser option is deprecated, positions
option should be used instead (needPosition
is used still if positions
option omitted)csso.internal.*
minify()
adds sourcesContent
by default when source map is generated0.10
until major release (#275)