
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.
@byteclaw/babel-plugin-visage
Advanced tools
A recommended babel preprocessing plugin for @byteclaw/visage design system. Hoists styles props from React JSX components.
Babel plugin that improves Visage performance by hoisting styles
prop to a root scope of a Component's file.
import { Box } from '@byteclaw/visage';
import React from 'react';
export function Test() {
return <>
<Box styles={{ color: 'red' }}>
<Box styles={{ color: 'blue' }}>
<Box styles={{ color: 'green' }}>
</>
}
import { Box } from '@byteclaw/visage';
import React from 'react';
var _ref = Object.freeze({ color: 'red' });
var _ref2 = Object.freeze({ color: 'blue' });
var _ref3 = Object.freeze({ color: 'green' });
export function Test() {
return <>
<Box styles={_ref}>
<Box styles={_ref2}>
<Box styles={_ref3}>
</>
}
yarn add --dev babel-plugin-visage
or if you prefer npm
npm install --save-dev babel-plugin-visage
.babelrc
(Recommended){
"plugins": ["@byteclaw/visage"]
}
MIT
FAQs
A recommended babel preprocessing plugin for @byteclaw/visage design system. Hoists styles props from React JSX components.
We found that @byteclaw/babel-plugin-visage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.