Closed xiaoiver closed 10 months ago
Hi @xiaoiver, Please star this repo if you find it useful! Thanks :star:! 你好 @xiaoiver。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!
使用 vite 代替 dumi:
vite config 使用 alias 以支持 yarn workspaces
对于 GLSL,使用 vite-plugin-string 以文本形式加载
Vite 并不支持 reflect-metadata:https://stackoverflow.com/questions/68570519/why-cant-reflect-metadata-be-used-in-vite 需要换成 swc 代替 esbuild reflect-metadata 升级到最新版本可解决
L7 使用了 transform-css-l7 这个插件来引用 css // 不需要处理。
目前 AntV 各栈的截图测试方案:https://www.yuque.com/antv/ou292n/sf9hp989kfme4gln
L7 可以选择 Jest + Playwright,并共享开发和测试用例。
结合目前的项目结构,修改包括: