antvis/G6

G6是否有按需引入功能 #5512

lukemora posted onGitHub

问题描述

G6 Version: 4.6.3

Platform: 无 Mini Showcase(like screenshots): 无 CodePen Link: 无

重现链接

重现步骤

预期行为

实现按需引入,最大程度减少打包体积

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ] 4.6.3

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


@hustcc @Aarebecca

posted by lukemora about 1 year ago

v5会有按需加载,且会处理好副作用代码,自己扩展包,让在乎包大小的能自行构建。

v4 现有架构不会去处理!

posted by hustcc about 1 year ago

Fund this Issue

$0.00
Funded

Pull requests