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

Fix resolving dynamic dependencies #4940

Merged
merged 7 commits into from Sep 26, 2020
Merged

Fix resolving dynamic dependencies #4940

merged 7 commits into from Sep 26, 2020

Conversation

CompuIves
Copy link
Member

@CompuIves CompuIves commented Sep 25, 2020

There was a race condition where the parents of a transient dependency weren't properly
marked. Which cause some dependencies to be merged wrongly.

This also fixes how we print unicode characters with our transpiler (as a unicode character instead) and how we detect JSX. From now on if there's an AST we use that to detect JSX rather than RegEx, we do still fall back to RegEx if there's no AST available.

Fixes #4898
Fixes #4929

There was a race condition where the parents of a transient dependency weren't properly
marked. Which cause some dependencies to be merged wrongly.

Fixes #4898
@lbogdan lbogdan temporarily deployed to pr4940 September 25, 2020 13:38 Inactive
@lbogdan
Copy link
Contributor

lbogdan commented Sep 25, 2020

Build for latest commit c8348b4 is at https://pr4940.build.csb.dev/s/new.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 25, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c8348b4:

Sandbox Source
Notifications Test Configuration
jolly-wood-l76ox Issue #4898
magical-star-iff0r Issue #4929
green-feather-9hew5 Issue #4929
sad-sky-2g9n9 Issue #4929
elated-jennings-lg3zc Issue #4929

This also improves our detection heuristic for JSX modules

Fixes #4929
@lbogdan lbogdan temporarily deployed to pr4940 September 25, 2020 17:01 Inactive
@lbogdan lbogdan temporarily deployed to pr4940 September 25, 2020 17:08 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants