alibaba / alibaba/lowcode-engine

element 工具生成的组件开发框架,没有UMD 格式的 meta.js

Open
#2,950 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

![CleanShot 2024-02-29 at 17 11 09@2x](https://github.com/alibaba/lowcode-engine/assets/34265941/7c88e25e-0f8b-4d50-8a4b-548de64ce32d)

通过 @alilc/elements 生成的组件模板开发框架中
自定义物料只能生成 es 和 cjs 风格,还是多文件模式

官方的 asset 配置中的 meta 文件,都是一个合并后的 UMD 格式的 meta.js,如下

![CleanShot 2024-02-29 at 17 13 03@2x](https://github.com/alibaba/lowcode-engine/assets/34265941/8a72ab82-ddba-4443-9155-cfc0c8235a73)

这到底是哪里来的,官方的仓库压根无法生成呀?我用远程配置肯定不能用 module 模式的?
![CleanShot 2024-02-29 at 17 13 28@2x](https://github.com/alibaba/lowcode-engine/assets/34265941/02b9c957-eff4-4763-a3ea-8dd0c4274034)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the @alilc/elements-generated component template produces custom material files and how the official asset configuration consumes meta.js. Compare the existing ES and CJS multi-file output with the merged UMD format shown in the issue. Done means the template can generate a compatible UMD meta.js for remote asset configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.