Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🙏 tree-shaking is not work #2404

Closed
5 tasks
hemisu opened this issue Nov 7, 2023 · 2 comments
Closed
5 tasks

🙏 tree-shaking is not work #2404

hemisu opened this issue Nov 7, 2023 · 2 comments
Assignees
Labels
✅ accepted 需求被采纳, 近期会排期开发 🙏feature request 新需求支持 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复

Comments

@hemisu
Copy link
Contributor

hemisu commented Nov 7, 2023

🏷 Version

Package Version
@antv/s2
@antv/s2-react
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

仅引用常量,打包的代码体积过大

stackblitz

🏞 What problem does this feature solve

🧐 Suggest the API

name type default description
- - - -
@hemisu hemisu added the 🙏feature request 新需求支持 label Nov 7, 2023
@lijinke666 lijinke666 self-assigned this Dec 11, 2023
@lijinke666
Copy link
Member

目前打包的 esm 是单文件, 引用太复杂了, tree shaking 确实有问题, 2.0 版本会解决这个问题

@lijinke666 lijinke666 added the ✅ accepted 需求被采纳, 近期会排期开发 label Dec 12, 2023
Copy link
Contributor

你好 @hemisu,经过我们的反复讨论, 你的需求现已被采纳, 我们会排期开发, 请关注后续发布日志。

Hello, @hemisu, your feature request has been accepted after our repeated discussion. We will schedule the development, please pay attention to the follow-up release logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ accepted 需求被采纳, 近期会排期开发 🙏feature request 新需求支持 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复
Projects
None yet
Development

No branches or pull requests

2 participants