UNPKG
postcss-ordered-values
Version:
latest (7.0.2)
next (5.0.0-rc.2)
nightly (4.0.0-nightly.2020.2.6)
7.0.2
7.0.1
7.0.0
6.0.2
6.0.1
6.0.0
5.1.3
5.1.2
5.1.1
5.1.0
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
5.0.0-rc.2
5.0.0-rc.1
5.0.0-rc.0
4.1.2
4.1.1
4.1.0
4.0.0
4.0.0-rc.2
4.0.0-rc.0
4.0.0-nightly.2020.10.20
4.0.0-nightly.2020.9.9
4.0.0-nightly.2020.9.3
4.0.0-nightly.2020.9.1
4.0.0-nightly.2020.8.29
4.0.0-nightly.2020.8.25
4.0.0-nightly.2020.8.24
4.0.0-nightly.2020.8.17
4.0.0-nightly.2020.8.10
4.0.0-nightly.2020.8.4
4.0.0-nightly.2020.8.1
4.0.0-nightly.2020.7.31
4.0.0-nightly.2020.7.25
4.0.0-nightly.2020.7.24
4.0.0-nightly.2020.2.6
4.0.0-nightly.2020.1.11
4.0.0-nightly.2020.1.9
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.1.1
1.1.0
1.0.1
1.0.0
Ensure values are ordered consistently in your CSS.
github.com/cssnano/cssnano
cssnano/cssnano
postcss-ordered-values
/
src
/
lib
/
vendorUnprefixed.js
11 lines
(9 loc)
•
175 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
/** *
@param
{
string
}
prop
*
@return
{
string
} */
function
vendorUnprefixed
(
prop
) {
return
prop.
replace
(
/^-\w+-/
,
''
); }
module
.
exports
= vendorUnprefixed;