alibaba / alibaba/lowcode-engine
物料文件过大
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
大佬好,我发现自己开发物料的时候,执行npm run lowcode:build命令生成的view.js文件太大了,通常是2M左右,导致预览页加载很慢,但是我看官网的demo中的物料文件很小,请问生成物料文件的时候有压缩方式吗
官方antd物料:

二次开发之后的antd物料:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the mentioned `npm run lowcode:build` command and inspect the generated `view.js` size. Compare the generated material file with the smaller official Ant Design material shown in the report. Done means establishing whether the build output can be compressed and reducing its preview-page loading cost.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100