
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
babel-plugin-tailwind-grouping
Advanced tools
Babel plugin to expand grouped Tailwind utility classes
babel-plugin-tailwind-grouping
A Babel plugin that expands grouped Tailwind-like utility classes.
In your babel configuration (.babelrc
, babel.config.json
, etc.) add the plugin:
{
"plugins": [
"babel-plugin-tailwind-grouping"
]
}
// input:
<div class="text(blue-500 2xl) hover:(text(red-500 3xl))" />
// output:
<div class="text-blue-500 text-2xl hover:text-red-500 hover:text-3xl" />
For more information on how to build grouped classes, see Twind's docs on the subject.
Parser and class name builder modified from twind
FAQs
Babel plugin to expand grouped Tailwind utility classes
The npm package babel-plugin-tailwind-grouping receives a total of 1 weekly downloads. As such, babel-plugin-tailwind-grouping popularity was classified as not popular.
We found that babel-plugin-tailwind-grouping demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.