Skip to content
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

fix: recovery mode for function #3600

Merged
merged 1 commit into from Feb 17, 2022
Merged

fix: recovery mode for function #3600

merged 1 commit into from Feb 17, 2022

Conversation

alexander-akait
Copy link
Collaborator

Description:

Fix recovery mode for function (regression in next.js)

Ideally we should refactor this logic more and consume components values firstly, when try to resolve to Vec<Value>, if failed keep them as is, if not failed apply Vec<Value> nodes, but it requires more refactor and can take a time (I will focus on it in this week, so we will not have such regressions in future)

No

Related issue (if exists):

No

"WhiteSpace": {
"value": " "
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Previously we lost whitespaces on tokens (it is not good), I found some more edge cases, and will it soon

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

swc-bump:

  • swc_css_codegen
  • swc_css_parser

@kdy1 kdy1 merged commit 5420bcc into swc-project:main Feb 17, 2022
@kdy1 kdy1 added this to the v1.2.142 milestone Feb 17, 2022
@alexander-akait alexander-akait deleted the fix-recovery-mode branch February 17, 2022 10:11
@swc-project swc-project locked as resolved and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants