Skip to content

Conversation

@CPunisher
Copy link
Member

This is continuation of #543

Note that:

  1. styled jsx plugin depends on swc_ecma_minifier
  2. swc_ecma_minifier doesn't adapt swc_ast_unknown yet, thus producing compilation error

So for this repo we cannot directly add rustflags = ["--cfg=swc_ast_unknown"] to .cargo/.config.toml. Instead, we have to manually set this flag for all cargo build command in package.json. I also add the corresponding cargo check in CI.

@changeset-bot
Copy link

changeset-bot bot commented Nov 21, 2025

⚠️ No Changeset found

Latest commit: 66fee0e

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

@kdy1 kdy1 merged commit 768aee3 into swc-project:main Nov 24, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants