We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0774e6 commit 8ea8faeCopy full SHA for 8ea8fae
src/index.ts
@@ -80,6 +80,7 @@ const creator: PluginCreator<pluginOptions> = (
80
81
// contains commas without meaningful tokens, such as `--negative(,)`
82
if (nodes.length === 0) {
83
+ decl.warn(result, 'Syntax error');
84
return componentValue;
85
}
86
test/_tape.js
@@ -13,5 +13,6 @@ postcssTape(plugin)({
13
'--comma-separated-list-of-component-values': () => '10px, 20px',
14
},
15
16
+ warnings: 3,
17
18
});
0 commit comments