antvis / antvis/F2

微信小程序引用f2,如何按需引用啊?使用NPM引用,会导致主包超出2m

Open
#1,110 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

如题,微信小程序引用f2,如何按需引用啊?使用NPM引用,会导致主包超出2m。

Contributor guide

Open the contributing guide

Research direction

Start by reviewing F2's NPM packaging and the WeChat mini-program integration described in the issue. Investigate how the package contributes to the main-package size and identify whether an on-demand import approach is supported. Done should provide a practical way to use F2 without exceeding the 2 MB main-package limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.