
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@adeira/babel-plugin-transform-sx-tailwind
Advanced tools
Babel transformation plugin for SX Tailwind
Transformation of SX Tailwind helpers into direct SX calls.
This has a positive impact on the final bundle size because the huge Tailwind definitions file can be omitted.
import React from 'react';
+ import sx from '@adeira/sx';
export default function Example() {
return (
<button
- sxt="bg-blue-500 text-white font-bold"
+ className={__styles('bg-blue-500', 'text-white', 'font-bold')}
type="button"
>
Button
</button>
);
}
+ const __styles = sx.create({
+ 'bg-blue-500': {
+ backgroundColor: '#4299e1',
+ },
+ 'text-white': {
+ color: '#fff',
+ },
+ 'font-bold': {
+ fontWeight: 700,
+ },
+ });
yarn add --dev @adeira/babel-plugin-transform-sx-tailwind
Register in your Babel config (e.g. .babelrc
):
{
"plugins": ["@adeira/babel-plugin-transform-sx-tailwind"]
}
FAQs
Babel transformation plugin for SX Tailwind
The npm package @adeira/babel-plugin-transform-sx-tailwind receives a total of 0 weekly downloads. As such, @adeira/babel-plugin-transform-sx-tailwind popularity was classified as not popular.
We found that @adeira/babel-plugin-transform-sx-tailwind demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.