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

Update babel config for esm target #429

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

Pessimistress
Copy link
Collaborator

  • Improve debug view
  • By default disable _defineProperty in classes
  • Disable _taggedTemplateLiterals in ESM build


// The following targets are designed to support the most commonly used evergreen browsers.
// As of Feb 2021 they all support async function, async iterator, and spread operator.
const ES5_TARGETS = ['>0.2%', 'maintained node versions', 'not ie 11', 'not dead', 'not chrome 49'];
const ESM_TARGETS = ['>0.2% and supports async-functions', 'maintained node versions', 'not dead'];
// Reduce verbosity
const ESM_PLUGIN_BLACKLIST = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Didn't know there was blacklist support, very convenient!

@Pessimistress Pessimistress merged commit a9e1145 into master Aug 24, 2023
2 checks passed
@Pessimistress Pessimistress deleted the x/transpile-options branch August 24, 2023 18:34
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