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 bug in Babel prepForHydration/rehydrate #3483

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

padmaia
Copy link
Contributor

@padmaia padmaia commented Sep 1, 2019

↪️ Pull Request
This bug was noticed when trying to run parcel globally when Babel fails to resolve the default plugins. The fix was to make sure the property dirname on the Babel ConfigItem gets added in prepForRehydration and gets used in createConfigItem in rehydrate. Also copied over name in case it may be needed for something.

🚨 Test instructions

For now I have just manually tested that running Parcel globally builds a simple JavaScript file outside of the Parcel repo. Still need to think of a good way to test this.

@padmaia padmaia merged commit 9c078ef into v2 Sep 3, 2019
@padmaia padmaia deleted the fix-babel-config-plugin-resolution branch September 3, 2019 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants