File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ module.exports = (UserProps) => {
127
127
128
128
// warn if props won't resolve from plugin
129
129
if ( ! value ) {
130
- return
130
+ continue
131
131
}
132
132
133
133
// create and append prop to :root
Original file line number Diff line number Diff line change 111
111
)
112
112
} )
113
113
114
+ it ( 'Can jit a single, undefined prop that has fallbacks and nested props' , async ( ) => {
115
+ await run (
116
+ `a {
117
+ color: var(--orange, var(--pink), hotpink);
118
+ }` ,
119
+ `:root {
120
+ --pink: #ffc0cb;
121
+ }
122
+ a {
123
+ color: var(--orange, var(--pink), hotpink);
124
+ }` ,
125
+ MockProps
126
+ )
127
+ } )
128
+
129
+
114
130
it ( 'Can jit a single prop with spaces that has fallbacks and nested props' , async ( ) => {
115
131
await run (
116
132
`a {
You can’t perform that action at this time.
0 commit comments