UNPKG
@opentiny/tiny-toolkit-docs
Version:
alpha (1.0.11-alpha.0)
latest (1.0.10)
1.0.11-alpha.0
1.0.10
1.0.10-alpha.0
1.0.9
1.0.9-alpha.0
1.0.8
这里对你的套件进行简单描述, 比如适用哪些场景,使用了什么技术, 有什么特点
github.com/opentiny/tiny-cli
opentiny/tiny-cli
@opentiny/tiny-toolkit-docs
/
template
/
ng
/
tiny-uno
/
variants
/
important.js
14 lines
(13 loc)
•
294 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// ! !c-error
export
default
matcher => {
if
(!matcher.
startsWith
(
'!'
))
return
matcher;
return
{
matcher
: matcher.
slice
(
1
),
body
:
body
=>
{ body.
forEach
(
e
=>
{ e[
1
] && (e[
1
] +=
' !important'
); });
return
body; }, }; };