withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
43.84k stars 2.28k forks source link

refactor(plugin-analyzer): code refactor #11307

Closed Simon-He95 closed 1 week ago

Simon-He95 commented 1 week ago

Changes

This PR extracts the data that is not related to the variable in the cycle to the outer layer. This can optimize the conditional judgment and repeated data reading of the multiple times in the cycle

Testing

Docs

changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: fa561eee9d75e81867010405f5a52038c818b652

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR