[Feature] Taro编译成小程序的版本,打包体积缩小
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 221
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 26
Description
What problem does this feature solve?
希望对Taro编译成小程序的版本,打包体积缩小。 目前使用了按需加载的情况下,仍旧体积还是非常大,超出了微信小程序2M的限制。
希望能做的更小一点。
What does the proposed API look like?
语义化标签使用 希望最后打包结果只有几百K。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by measuring the Taro-generated mini-program bundle for the semantic usage and compare it with the current 2 MB WeChat limit. Investigate how on-demand loading affects the packaged output; done means the resulting bundle is reduced to a few hundred KB or otherwise fits within the stated limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100