Skip to content

BREAKING CHANGES: bump Babel to 8.0.0-beta.1 #1889

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Aug 5, 2025

Rollup Plugin Name: babel

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

In this PR we bumped Babel to babel 8.0.0-beta.1. This is a draft PR for the sole purpose of checking if Babel 8 contains any unplanned breaking changes.

JLHwung added 4 commits August 5, 2025 11:02
- useESModules are removed
- loose is removed
- legacy in proposal-decorators is removed
- if targets are not specified in Babel 8, Babel 8 will resort to the default targets defined in browserslist, and will not transpile most ES6 features. Since in out test cases we assert whether one file has been compiled by its output, specify an very old target, such firefox 2, would yield to the mostly same behaviour as Babel 7
pending further investigation
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.

1 participant