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

Add parcel version to PluginOptions #9671

Merged
merged 6 commits into from Apr 26, 2024
Merged

Add parcel version to PluginOptions #9671

merged 6 commits into from Apr 26, 2024

Conversation

benjervis
Copy link
Contributor

To keep proper track of build metrics, we need to be able to link events to the version of Parcel that's running them.

We had been doing this by running a yarn why in the application repo, but that's not actually accurate if there are dependencies that are using their own versions of Parcel.

This PR takes the parcel version from constants.js and makes it available on PluginOptions, so that Reporters have access to it downstream.

@benjervis benjervis merged commit b8f7f90 into v2 Apr 26, 2024
16 of 17 checks passed
@benjervis benjervis deleted the proper-parcel-versions branch April 26, 2024 05:58
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