-
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
feat: fastRefresh support anonymous default export function #6211
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6211 +/- ##
==========================================
+ Coverage 84.40% 84.45% +0.05%
==========================================
Files 153 154 +1
Lines 3470 3507 +37
Branches 942 952 +10
==========================================
+ Hits 2929 2962 +33
- Misses 531 535 +4
Partials 10 10
Continue to review full report at Codecov.
|
|
1、单独 npm 会有问题,这样 fast refresh 功能需要两个 babel 插件并且是有顺序的( |
可以两个都放过去。
是 fast refresh 本身声明不支持还是我们使用方式的问题?
非 export default 是不支持还是不需要加? |
非 export default 是不需要加 |
ping @sorrycc |
解下冲突。 |
ref:
Checklist
npm test
passesDescription of change
View rendered docs/docs/fast-refresh.md
View rendered docs/docs/fast-refresh.zh-CN.md