Skip to content

Bring back @babel/preset-env preset#4481

Merged
gusevda merged 2 commits intomainfrom
revert-babel-preset-env-removal
Jan 10, 2025
Merged

Bring back @babel/preset-env preset#4481
gusevda merged 2 commits intomainfrom
revert-babel-preset-env-removal

Conversation

@gusevda
Copy link
Copy Markdown
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
Copy Markdown
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
@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