
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@alifd/build-plugin-lowcode
Advanced tools
export interface LowcodeOptions {
builtinAssets?: Array<string|Assets>; // 会作为内置资产保存到构建产物中
extraAssets?: Array<string|Assets>; // 只在调试环境加载到资产包中
noParse?: boolean; // 关闭自动解析生成 lowcode meta
categories?: string[]; // 组件在组件面板中的分类
groups?: string[]; // 组件在组件面板中的 tab 分组
baseLibrary?: 'react'|'rax';
setterMap?: SetterMap; // 注入 setter
}
export interface SetterMap {
[SetterName: string]: string;
}
export type Assets = {
package: string;
version: string;
urls: string[];
library: string;
};
// 示例
// {
// package: 'antd',
// version: '4.17.3',
// urls: [
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.js',
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.css',
// ],
// library: 'antd',
// }
demo/component
目录下是测试组件的项目,改项目引用了 build-plugin-lowcode,相关配置在在 demo/component/build.lowcode.js
中;
可以修改 build-plugin-lowcode 的代码、修改 demo/component/build.lowcode.js 的配置进行调试;
# 在 build-plugin-lowcode 根目录下执行启动调试环境
npm run component:dev
FAQs
build plugin for component-to-lowcode
The npm package @alifd/build-plugin-lowcode receives a total of 20 weekly downloads. As such, @alifd/build-plugin-lowcode popularity was classified as not popular.
We found that @alifd/build-plugin-lowcode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 26 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.