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

Files that end with Cell are not considered Cells if they have a default export. #597

Merged
merged 14 commits into from
May 29, 2020

Conversation

peterp
Copy link
Contributor

@peterp peterp commented May 25, 2020

No description provided.

@gfpacheco
Copy link
Contributor

This implementation is different from what we talked about here and also is inconsistent depending on the order of imports.

If someone exports any of the expected names before exporting the default the plugin will still transform it into a cell.

I'll open a PR to your branch fixing it, if you feel like accepting.

@peterp peterp marked this pull request as draft May 25, 2020 22:51
@peterp
Copy link
Contributor Author

peterp commented May 25, 2020

Thanks @gfpacheco, I would be happy to accept those fixes.

@peterp peterp marked this pull request as ready for review May 27, 2020 19:29
@peterp peterp merged commit 2577671 into master May 29, 2020
@peterp peterp added this to the next release milestone May 29, 2020
@thedavidprice thedavidprice deleted the pp-abort-cell-hoc-with-default-export branch May 29, 2020 15:39
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.

None yet

2 participants