Skip to content

Conversation

@AlessioGr
Copy link
Member

This PR bumps all swc-related dependencies.

Previous:

@swc/cli: 0.7.7
@swc/core: 1.11.29

Now:

@swc/cli: 0.7.9
@swc/core: 1.15.3

Previously, we weren't explicitly installing the @swc/core peer dependency even though the swc docs recommend installing it. Bumping @swc/core allows us to set jsx to preserve for debug builds (swc-project/swc#11025), which will help improve readability of react code for debugging purposes.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2025

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖
This PR introduced no changes to the esbuild bundle! 🙌

},
"devDependencies": {
"@payloadcms/eslint-config": "workspace:*",
"@swc/core": "1.11.29",
Copy link
Member Author

Choose a reason for hiding this comment

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

No need for this - we already install it as devDependency in the root. Other pkgs use swc just fine without explicitly installing it as devDependency like here

@AlessioGr AlessioGr merged commit 617311a into main Dec 6, 2025
100 of 101 checks passed
@AlessioGr AlessioGr deleted the deps/swc branch December 6, 2025 01:51
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

🚀 This is included in version v3.68.0

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants