g-webgl-compute icon indicating copy to clipboard operation
g-webgl-compute copied to clipboard

babel编译问题

Open tianxing0923 opened this issue 4 years ago • 0 comments

@antv/g-webgpu-core 包内大量 I*.ts 文件只导出了interface,通过babel esm模式生成后的文件内容是空的,导致index.js中 import { I* } from './I*' 之类的会报错,直接通过tsc编译后的*.js移除了声明类型的导出,移到了*.d.ts中。

tianxing0923 avatar Jan 22 '21 08:01 tianxing0923