We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6101216 commit 92cacc7Copy full SHA for 92cacc7
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@pathscale/rollup-plugin-vue3-ui-css-purge",
3
- "version": "0.0.39",
+ "version": "0.0.40",
4
"description": "Automatically remove unused CSS when using vue3-ui",
5
"keywords": [
6
"rollup",
src/analyzer.ts
@@ -95,9 +95,12 @@ export function analyze(
95
}
96
},
97
98
- onattribute(prop, data) {
+ onattribute(p, data) {
99
for (const cl of data.split(" ")) whitelist.add(cl);
100
101
+ const prop = p.replace(":", "") // remove : from props like :loading -> loading
102
+
103
104
if (kebabCase(currentTag).startsWith("v-")) {
105
// optional
106
if (mappings[currentTag]?.optional.includes(`is-${prop}`)) {
0 commit comments