Skip to content

fix: incorrect re-export syntax,etc#2172

Closed
xc1427 wants to merge 1 commit intodvajs:masterfrom
xc1427:fix/aggregate-export
Closed

fix: incorrect re-export syntax,etc#2172
xc1427 wants to merge 1 commit intodvajs:masterfrom
xc1427:fix/aggregate-export

Conversation

@xc1427
Copy link
Contributor

@xc1427 xc1427 commented Jul 31, 2019

Checklist
  • npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change
  • correct incorrect re-export syntax for dynamic and isomorphic-fetch
  • re-organize aggregated export for packages/dva
  • add missing export in dva/index.d.ts file
  • fix one throttle test

@coveralls
Copy link

coveralls commented Jul 31, 2019

Coverage Status

Coverage remained the same at 87.681% when pulling ec18b03 on xc1427:fix/aggregate-export into 47c7480 on dvajs:master.

@xc1427 xc1427 force-pushed the fix/aggregate-export branch from 1195af7 to 2b26e1c Compare July 31, 2019 04:59
@xc1427 xc1427 changed the title fix: correct incorrect re-export syntax,etc fix: incorrect re-export syntax,etc Jul 31, 2019
- correct incorrect re-export syntax for dynamic and isomorphic-fetch
- re-organize aggregated export for packages/dva
- add missing export in dva/index.d.ts file
- fix one throttle test
@xc1427 xc1427 force-pushed the fix/aggregate-export branch from 2b26e1c to ec18b03 Compare July 31, 2019 05:12
export dynamic from './dynamic';
export { connect, connectAdvanced, useSelector, useDispatch, useStore, shallowEqual };
export { bindActionCreators };
export { default as fetch } from 'isomorphic-fetch';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

跑过吗?isomorphic-fetch 好像没 default 的,https://github.com/matthew-andrews/isomorphic-fetch/blob/master/fetch-bower.js#L1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本地没有跑过,但是 CI 是过的。babel 不应该对 es 和 cjs 做兼容吗 ?

@stale
Copy link

stale bot commented Oct 4, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 4, 2019
@stale stale bot closed this Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants