Skip to content

Conversation

guybedford
Copy link
Collaborator

This adds support for require spreads in reexports which came up in jestjs/jest#9430 (comment), like:

module.exports = {
  ...require('a'),
  ...require('b')
};

This is just the JS implementation for now, I will add the Wasm implementation shortly.

//cc @jkrems for review.

@guybedford guybedford merged commit 8d1872d into master Oct 21, 2020
@guybedford guybedford deleted the reexports-spread branch October 21, 2020 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant