Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

貌似不支持vite默认配置'@vitejs/plugin-react-swc',我不能在chrome devtools中调试debugger了 #382

Closed
3 tasks done
wgsheng06 opened this issue May 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@wgsheng06
Copy link

Clear and concise description of the problem

Describe the bug

貌似不支持vite默认配置 '@vitejs/plugin-react-swc', 我不能在chrome devtools中调试debugger了
可以拉取我新建的工程,链接为:https://github.com/wgsheng06/unplugin-un-react-swc-issue-project

image

'@vitejs/plugin-react-swc' 改成 '@vitejs/plugin-react-refresh' 恢复正常

Suggested solution

暂不知道问题原理在哪里,可能是因为生成sourcemap的问题

Alternative

No response

Additional context

No response

Validations

@lishaobos
Copy link
Collaborator

这个已经合到主分支了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants