v3.1.7 包的模块声明与 CJS 产物冲突,导致 Node.js ESM 加载失败
作者: ericfitz创建于 2026年3月23日更新于 2026年5月21日
标签waiting for maintainer
The problem description is as follows: `@antv/[email protected]` has a `package.json` that declares `"type": "module"`, but the products in the `lib/` directory use CommonJS syntax (require(), exports). This causes Node.js to throw an error when loading `lib/index.js` as an ESM:
内容来源: antvis/X6