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

fix: replace d3 with @antv/vendor #6741

Merged
merged 1 commit into from
Jan 23, 2025
Merged

fix: replace d3 with @antv/vendor #6741

merged 1 commit into from
Jan 23, 2025

Conversation

hustcc
Copy link
Member

@hustcc hustcc commented Jan 23, 2025

解决 d3 包的 esm_required_error 问题

Copy link

Walkthrough: 这个PR解决了d3包的esm_required_error问题,通过将d3的引用替换为@antv/vendor中的d3-hierarchy模块。此更改影响了测试和示例文件。

Changes:

文件 概要
packages/g6/tests/demos/case-why-do-cats.ts, packages/site/examples/scene-case/default/demo/why-do-cats.js d3-hierarchy的导入替换为@antv/vendor/d3-hierarchy
packages/g6/package.json 更新了依赖项以反映上述更改

@Aarebecca Aarebecca merged commit 959190a into v5 Jan 23, 2025
2 checks passed
@Aarebecca Aarebecca deleted the fix-d3-esm-require-error branch January 23, 2025 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants