Skip to content

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Aug 8, 2024

No description provided.

@graphite-app
Copy link
Contributor

graphite-app bot commented Aug 8, 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.

@github-actions github-actions bot added the A-minifier Area - Minifier label Aug 8, 2024
@codspeed-hq
Copy link

codspeed-hq bot commented Aug 8, 2024

CodSpeed Performance Report

Merging #4759 will not alter performance

Comparing inject-plugin (c519295) with main (f629514)

Summary

✅ 29 untouched benchmarks

@Boshen Boshen marked this pull request as ready for review August 9, 2024 10:47
@Boshen Boshen requested a review from Dunqing August 9, 2024 10:47
@overlookmotel
Copy link
Member

In summary: Keeping scopes/symbols in sync is pretty annoying!

@Boshen
Copy link
Member Author

Boshen commented Aug 10, 2024

@overlookmotel Thank you for the review.

We should definitely revisit syncing semantic data in a follow up.

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

graphite-app bot commented Aug 10, 2024

Merge activity

  • Aug 9, 9:10 PM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Aug 9, 9:12 PM EDT: Boshen added this pull request to the Graphite merge queue.
  • Aug 9, 9:15 PM EDT: Boshen merged this pull request with the Graphite merge queue.

@graphite-app graphite-app bot merged commit c519295 into main Aug 10, 2024
@graphite-app graphite-app bot deleted the inject-plugin branch August 10, 2024 01:15
@oxc-bot oxc-bot mentioned this pull request Aug 10, 2024
Boshen added a commit that referenced this pull request Aug 10, 2024
## [0.24.1] - 2024-08-10

### Features

- b3c3125 linter: Overhaul unicorn/no-useless-spread (#4791) (DonIsaac)
- c519295 minifier: Add `InjectGlobalVariables` plugin
(`@rollup/plugin-inject`) (#4759) (Boshen)

### Bug Fixes

- fff9da3 ast, ast_codegen: Use `generate_derive` instead of visitable
for generating span derives. (#4747) (rzvxa)
- f5eeebd ast_macros: Raise compile error on invalid `generate_derive`
input. (#4766) (rzvxa)
- 4d0b40a napi/transform: Fix wrong isolated declarations emit (Boshen)

### Refactor

- daa0b2e ast: `oxc_ast` crate re-export AST types from other crates
(#4773) (overlookmotel)
- d4a3be8 ast_codegen: Line breaks between types in layout assertions
(#4781) (overlookmotel)
- dbb5f4c ast_codegen: Remove unnecessary imports from generated files
(#4774) (overlookmotel)
- 7ea058d ast_codegen: Replace Windows-style line breaks with Unix-style
(#4769) (overlookmotel)
- 2dea0ca ast_codegen: Consistent import order (#4761) (overlookmotel)

Co-authored-by: Boshen <[email protected]>
Boshen pushed a commit that referenced this pull request Aug 10, 2024
…les` (#4802)

Re-use `Atom`s in `InjectGlobalVariables` minifier plugin.

Instead of allocating a new `Atom` on every replacement, create `Atom` lazily when making first replacement, and cache it.

As discussed in: #4759 (comment)
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 A-minifier Area - Minifier

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants