
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.
@aliyun-sls/babel-plugin-sls-import
Advanced tools
用于SLS App Frame加载公共组件的babel import plugin
先执行yarn dev 再执行yarn test,可以看到test目录下文件的转换
plugins: [
[
plugin,
{
slsLibrary: [
/^@aliyun-sls\S+/,
'someModuleName',
item => {
return item === 'anotherModuleName';
},
],
},
],
]
import { something, something2 } from 'module1';
import defaultThing from 'module2';
import { something as alias } from 'module3';
import { Button } from '@aliyun-sls/fusion';
import Dashboard from '@aliyun-sls/Dashboard';
<Dashboard></Dashboard>;
↓ ↓ ↓ ↓ ↓ ↓
import { something, something2 } from 'module1';
import defaultThing from 'module2';
import { something as alias } from 'module3';
const Button = _sls_import("@aliyun-sls/fusion").Button;
const Dashboard = _sls_import("@aliyun-sls/Dashboard");
/*#__PURE__*/
React.createElement(Dashboard, null);
FAQs
用于SLS App Frame加载公共组件的babel import plugin
The npm package @aliyun-sls/babel-plugin-sls-import receives a total of 0 weekly downloads. As such, @aliyun-sls/babel-plugin-sls-import popularity was classified as not popular.
We found that @aliyun-sls/babel-plugin-sls-import 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.