v3.0.0
·
403 commits
to master
since this release
3.0.0 (2019-06-11)
Bug Fixes
- avoid the "from" argument must be of type string error (#908) (e5dfd23)
- invert
Functionbehavior forurlandimportoptions (#939) (e9eb5ad) - properly export locals with escaped characters (#917) (a0efcda)
- property handle non css characters in localIdentName (#920) (d3a0a3c)
Features
- modules options now accepts object config (#937) (1d7a464)
- support
@valueat-rule in selectors (#941) (05a42e2)
BREAKING CHANGES
- minimum required nodejs version is 8.9.0
@valueat rules now support inselector, recommends checking all@valuesat-rule usage (hint: you can add prefix to all@valueat-rules, for example@value v-foo: black;or@value m-foo: screen and (max-width: 12450px), and then do upgrade)- invert
{Function}behavior forurlandimportoptions (need returntruewhen you want handleurl/@importand returnfalseif not) exportLocalsStyleoption was remove in favorlocalsConventionoption, also it is accept only{String}value (usecamelCasevalue if you previously value wastrueandasIsif you previously value wasfalse)exportOnlyLocalsoption was remove in favoronlyLocalsoptionmodulesoption now can be{Object}and allow to setupCSS Modulesoptions:localIdentNameoption was removed in favormodules.localIdentNameoptioncontextoption was remove in favormodules.contextoptionhashPrefixoption was removed in favormodules.hashPrefixoptiongetLocalIdentoption was removed in favormodules.getLocalIdentoptionlocalIdentRegExpoption was removed in favormodules.localIdentRegExpoption