-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix(c2c): clickToComponent only in dev mode #10759
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
packages/preset-umi/src/features/clickToComponent/clickToComponent.ts
Outdated
Show resolved
Hide resolved
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #10759 +/- ##
==========================================
- Coverage 29.11% 29.10% -0.01%
==========================================
Files 462 462
Lines 13871 13872 +1
Branches 3253 3254 +1
==========================================
Hits 4038 4038
- Misses 9143 9144 +1
Partials 690 690
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
packages/preset-umi/src/features/clickToComponent/clickToComponent.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
click-to-react-component
组件虽然做了如下处理,但在生产模式下启用的话其组件仍然会被打包,且默认不会走构建,会导致低版本浏览器兼容问题