-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: griffel babel preset fails on SWC commonjs transpiled output #26251
Comments
This is caused by Linaria v3. V4 fixes this. griffel uses v3 ATM migration to linaria v4 would need a lot of effort probably. |
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. |
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
This will probably never get fixed in griffel itself as the transition to linaria v4 is huge effort and provides worse performance. We plan to remove griffel postprocessing from library code that we ship in future so this can be closed as "wont fix". |
Library
React Components / v9 (@fluentui/react-components)
Are you reporting Accessibility issue?
None
Reproduction
yarn
node ./debug-swc
Bug Description
We are in the process of migrating our transpilation pipelines from
ts
toswc
for speed, but most importantly to start adhering to our browser matrix for transpiled code (#26170)Actual Behavior
Griffel babel plugin cannot process commonjs output produced by
swc
Expected Behavior
Griffel babel plugin can process
swc
CJS outputLogs
No response
Requested priority
High
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: