fix: patch

This commit is contained in:
Juan Di Toro 2023-10-20 12:01:28 +02:00
parent e25458191a
commit a7f5ee266d
1 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ index 0e337b0..530cd41 100644
+module.exports = D
//# sourceMappingURL=index.cjs.map
diff --git a/node_modules/vite-plugin-scope-tailwind/dist/es/index.mjs b/node_modules/vite-plugin-scope-tailwind/dist/es/index.mjs
index 9594d38..14bbb10 100644
index 9594d38..c86b6da 100644
--- a/node_modules/vite-plugin-scope-tailwind/dist/es/index.mjs
+++ b/node_modules/vite-plugin-scope-tailwind/dist/es/index.mjs
@@ -111,6 +111,8 @@ const S = ({
@ -131,14 +131,14 @@ index 9594d38..14bbb10 100644
(_) => require(p.join(process.cwd(), "node_modules", _))
),
- S({ prefix: `${g}.`, ignore: r })
+ S({ prefix: `${prefix || g}.`, ignore: r })
+ S({ prefix: `${prefix ? prefix : g}.`, ignore: r })
]
}
}
};
},
- transform: e ? $(g) : k(g)
+ transform: e ? $(prefix || g, classNameTransformers) : k(prefix || g )
+ transform: e ? $(prefix ? prefix : g, classNameTransformers) : k(prefix ? prefix : g )
});
export {
M as default