We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 257361d commit 6e15ba8Copy full SHA for 6e15ba8
index.js
@@ -127,7 +127,7 @@ module.exports = (UserProps) => {
127
128
// warn if props won't resolve from plugin
129
if (!value) {
130
- return
+ continue
131
}
132
133
// create and append prop to :root
index.test.js
@@ -111,6 +111,22 @@ a {
111
)
112
})
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
124
125
+ MockProps
126
+ )
+})
+
it('Can jit a single prop with spaces that has fallbacks and nested props', async () => {
await run(
`a {
0 commit comments