Closed agileago closed 2 years ago
我用了之后,发现sourcemap断点断不上了, 我把代码中的要返回的map手动置成null, 就正常了,最好提供一个选型配置一下是否要返回sourcemap
当然可以提供这个配置 请提供下复现路径,确定下最佳的解决方案
pnpm install
pnpm run dev
ctrl + p
搜索 count.view.tsx
perfect.发个版
找到原因了么
是不是搞错了,我是说传入一个选项 关闭掉插件的sourcemap,不是说关闭整个vite的sourcemap
我构建新版本是可以解决了
是不是搞错了,我是说传入一个选项 关闭掉插件的sourcemap,不是说关闭整个vite的sourcemap
这不会影响vite的sourcemap,只处理了引用库的文件
perfect.发个版
发了
还是不行,禁掉这个插件之后vite的sourcemap就正常了
还是不行,禁掉这个插件之后vite的sourcemap就正常了
提供下复现仓库/在线demo吧
我用了之后,发现sourcemap断点断不上了, 我把代码中的要返回的map手动置成null, 就正常了,最好提供一个选型配置一下是否要返回sourcemap
https://github.com/agileago/fe-template