Travis Zhang

Results 30 comments of Travis Zhang

Our plugin insert at build time and is usually used to auto ui testing or end-to-end testing. So please do not apply it to production, it will greatly increase the...

> It's just not possible to create that DOM structure - if you have any idea to solve that PR welcome I migrated from highlight.js because of the lack of...

当我使用 https://github.com/johnwalley/allotment 组件时会遇到同样问题。这是我的 [codesandbox](https://codesandbox.io/s/antd-reproduction-template-forked-8wcwsr?file=/index.js)

> 当我使用 https://github.com/johnwalley/allotment 组件时会遇到同样问题。这是我的 [codesandbox](https://codesandbox.io/s/antd-reproduction-template-forked-8wcwsr?file=/index.js) https://user-images.githubusercontent.com/37892968/207266249-e53442bf-8336-474e-8dea-753a5fe9860f.mov

这是我的解决方法, [请检查](https://github.com/react-component/drawer/pull/423)

最近发布了新版本,解决了这些问题,可以重新安装一下

This is an issue that causes inaccurate change line coverage. We will follow up on this issue as a priority

是支持的,可以使用 https://github.com/kwonoj/swc-plugin-coverage-instrument ,插桩成功后可以进行后续的测试用例+覆盖率上报,不过 swc-plugin-coverage-instrument 这个插件目前处于实验阶段

可以参考 https://github.com/canyon-project/canyon/blob/e32dd4f97983e3fc3b22eb88160262badf04ad88/examples/vite-react-swc/vite.config.ts#L12-L11

> > 可以参考 https://github.com/canyon-project/canyon/blob/e32dd4f97983e3fc3b22eb88160262badf04ad88/examples/vite-react-swc/vite.config.ts#L12-L11 > > 我看 example 里面是和 vite 一起跑的? https://github.com/canyon-project/canyon/blob/main/examples/next-swc/next.config.mjs 新加了next swc的配置