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(@formatjs/swc-plugin-experimental): fix crash when there is no pragma #4034

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

pyrocat101
Copy link
Member

@pyrocat101 pyrocat101 commented Mar 21, 2023

  1. Fixes the plugin crash when there is no pragma specified in the file to be processed.
  2. Fixes AST generation code that should generate an expression instead of a JSON string.

@pyrocat101 pyrocat101 merged commit a9a7c9b into main Mar 22, 2023
@pyrocat101 pyrocat101 deleted the fixSwc branch March 22, 2023 04:47
unional pushed a commit to unional/formatjs that referenced this pull request Jun 7, 2023
…agma + fix ast generation (formatjs#4034)

1. Fixes the plugin crash when there is no pragma specified in the file to be processed.
2. Fixes AST generation code that should generate an expression instead of a JSON string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant