antvis / antvis/F2

构建方式升级到father

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

Description

当前es目录下的文件,还保留了全部es6的语法,需要在使用库再编译一次,这样就需要使用方使用和F2一样的babel插件集,比较合适的做法是把es6预发全部编译掉,然后保留 es module 方式

所以考虑将构建工具升级成father,统一编译出lib/esm/umd

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the current build configuration and the es/ directory to understand how ES6 syntax is handled. Review how the project could use father to produce lib/esm/umd outputs while preserving ES module support. Done means the build produces those outputs without requiring consumers to compile the library again.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.