antvis / antvis/g-webgl-compute
babel编译问题
Open
- Dominant language
- TypeScript
- Stars
- 149
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
@antv/g-webgpu-core 包内大量 I*.ts 文件只导出了interface,通过babel esm模式生成后的文件内容是空的,导致index.js中 import { I* } from './I*' 之类的会报错,直接通过tsc编译后的*.js移除了声明类型的导出,移到了*.d.ts中。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Babel ESM output for the @antv/g-webgpu-core I*.ts files and compare it with the tsc-generated *.js and *.d.ts files. Trace the failing I* imports from index.js; done means the affected build no longer produces empty modules or invalid imports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- babel, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100