Skip to content

Bring back @babel/preset-env preset #4481

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

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Conversation

gusevda
Copy link
Contributor

@gusevda gusevda commented Jan 10, 2025

What changed?

  • Replaced @parcel/babel-preset-env with @babel/preset-env.

Why was this change made?
Build process currently fails when running yarn start or yarn build locally or on CI with errors like:

@parcel/core: ui/components/Input.tsx does not export 'InputProps'
@parcel/core: Failed to resolve 'devlop' from 
'./node_modules/mdast-util-gfm-footnote/lib/index.js'
@parcel/core: node_modules/d3-dag/bundle/d3-dag.esm.min.js does not export 'dagStratify'

Bringing back @babel/preset-env might fix this problem.

How was this change implemented?

How did you validate the change?
yarn start or yarn build runs locally without errors after the change.

@gusevda gusevda marked this pull request as ready for review January 10, 2025 16:10
@gusevda gusevda requested a review from erikgb January 10, 2025 16:11
Copy link
Contributor

@erikgb erikgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gusevda gusevda merged commit 44fc9ec into main Jan 10, 2025
19 checks passed
@gusevda gusevda deleted the revert-babel-preset-env-removal branch January 10, 2025 16:12
This was referenced Jan 15, 2025
This was referenced Feb 4, 2025
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.

2 participants