Skip to content

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Jul 9, 2024

To mimic the esbuild loader=jsx or babel babel-plugin-syntax-jsx behavior.

@Boshen Boshen requested a review from underfin July 9, 2024 08:33
@graphite-app
Copy link
Contributor

graphite-app bot commented Jul 9, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

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

@Boshen Boshen changed the title feat(transformer): add jsx option to force parsing with jsx feat(napi/transformer): add jsx option to force parsing with jsx Jul 9, 2024
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 9, 2024

CodSpeed Performance Report

Merging #4133 will not alter performance

Comparing 07-09-feat_transformer_add_jsx_option_to_force_parsing_with_jsx (725571a) with main (725571a)

Summary

✅ 29 untouched benchmarks

@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Jul 10, 2024
@graphite-app
Copy link
Contributor

graphite-app bot commented Jul 10, 2024

Merge activity

  • Jul 10, 7:11 AM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jul 10, 7:11 AM EDT: Boshen added this pull request to the Graphite merge queue.
  • Jul 10, 7:17 AM EDT: Boshen merged this pull request with the Graphite merge queue.

…4133)

To mimic the esbuild `loader=jsx` or babel `babel-plugin-syntax-jsx` behavior.
@Boshen Boshen force-pushed the 07-09-feat_transformer_add_jsx_option_to_force_parsing_with_jsx branch from 7290625 to 725571a Compare July 10, 2024 11:12
@graphite-app graphite-app bot merged commit 725571a into main Jul 10, 2024
@graphite-app graphite-app bot deleted the 07-09-feat_transformer_add_jsx_option_to_force_parsing_with_jsx branch July 10, 2024 11:17
@github-actions github-actions bot mentioned this pull request Jul 11, 2024
Boshen added a commit that referenced this pull request Jul 11, 2024
## [0.20.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct
(#4132) (Luca Bruno)

### Features

- 67fe75e ast, ast_codegen: Pass the `scope_id` to the `enter_scope`
event. (#4168) (rzvxa)
- 54cd04a minifier: Implement dce with var hoisting (#4160) (Boshen)
- 44a894a minifier: Implement return statement dce (#4155) (Boshen)
- 725571a napi/transformer: Add `jsx` option to force parsing with jsx
(#4133) (Boshen)

### Bug Fixes

- 48947a2 ast: Put `decorators` before everything else. (#4143) (rzvxa)
- 7a059ab cfg: Double resolution of labeled statements. (#4177) (rzvxa)
- 4a656c3 lexer: Incorrect lexing of large hex/octal/binary literals
(#4072) (DonIsaac)
- 28eeee0 parser: Fix asi error diagnostic pointing at invalid text
causing crash (#4163) (Boshen)

### Performance

- ddfa343 diagnostic: Use `Cow<'static, str>` over `String` (#4175)
(DonIsaac)
- 2203143 semantic: Store unresolved refs in a stack (#4162) (lucab)
- fca9706 semantic: Faster search for leading comments (#4140) (Boshen)

### Documentation

- bdcc298 ast: Update the note regarding the `ast_codegen` markers.
(#4149) (rzvxa)

### Refactor

- 03ad1e3 semantic: Tweak comment argument type (#4157) (lucab)

Co-authored-by: Boshen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants