Skip to content

Conversation

@Dunqing
Copy link
Member

@Dunqing Dunqing commented Jul 22, 2025

Both Transformer and Minifier have a minimum ES version support of ES2015. However, we can set the ESTarget to ES5 now, which might mislead users into thinking we already support ES5, so for now, let's remove the ESTarget::ES5 option to eliminate the confusion.

Suggested by @shulaoda

@github-actions github-actions bot added A-transformer Area - Transformer / Transpiler C-enhancement Category - New feature or request labels Jul 22, 2025
Copy link
Member Author

Dunqing commented Jul 22, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 22, 2025

CodSpeed Instrumentation Performance Report

Merging #12448 will not alter performance

Comparing 07-22-feat_transformer_minifier_syntax_remove_estarget_es5 (ccbcf3e) with main (7c2d2c6)

Summary

✅ 34 untouched benchmarks

@Dunqing Dunqing force-pushed the 07-22-feat_transformer_minifier_syntax_remove_estarget_es5 branch from 0f47c56 to cfb871f Compare July 22, 2025 07:25
@Dunqing Dunqing changed the title feat(transformer, minifier, syntax): remove ESTarget::ES5 feat(transformer, minifier, syntax)!: remove ESTarget::ES5 Jul 22, 2025
@Dunqing Dunqing requested a review from Boshen July 22, 2025 07:26
@Dunqing Dunqing marked this pull request as ready for review July 22, 2025 07:26
@Dunqing Dunqing requested a review from overlookmotel as a code owner July 22, 2025 07:26
@Dunqing Dunqing removed the request for review from overlookmotel July 22, 2025 07:27
@Boshen Boshen self-assigned this Jul 22, 2025
@Dunqing Dunqing force-pushed the 07-22-feat_transformer_minifier_syntax_remove_estarget_es5 branch from cfb871f to 01ac487 Compare July 22, 2025 08:03
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Jul 24, 2025
Copy link
Member

Boshen commented Jul 24, 2025

Merge activity

* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
@graphite-app graphite-app bot force-pushed the 07-22-feat_transformer_minifier_syntax_remove_estarget_es5 branch from 2c7fc8a to ccbcf3e Compare July 24, 2025 01:07
@graphite-app graphite-app bot merged commit ccbcf3e into main Jul 24, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 07-22-feat_transformer_minifier_syntax_remove_estarget_es5 branch July 24, 2025 01:17
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 24, 2025
camchenry pushed a commit that referenced this pull request Jul 26, 2025
* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
camchenry pushed a commit that referenced this pull request Jul 26, 2025
* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
camchenry pushed a commit that referenced this pull request Jul 26, 2025
* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
camchenry pushed a commit that referenced this pull request Jul 26, 2025
* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
camchenry pushed a commit that referenced this pull request Jul 27, 2025
* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
camchenry pushed a commit that referenced this pull request Aug 7, 2025
* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
Boshen pushed a commit that referenced this pull request Aug 7, 2025
* close #11296

Both `Transformer` and `Minifier` have a minimum ES version support of `ES2015`. However, we can set the `ESTarget` to `ES5` now, which might mislead users into thinking we already support `ES5`, so for now, let's remove the `ESTarget::ES5` option to eliminate the confusion.

Suggested by @shulaoda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-transformer Area - Transformer / Transpiler C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

transformer: Reports Oxc doesn't support lowering to ES5 when target is ESTarget::ES5

3 participants