Skip to content

feat(swc): enhance TransformOutput with diagnostics#10312

Merged
chenjiahan merged 3 commits intomainfrom
fix/emit-swc-warn-diagonositcs
May 10, 2025
Merged

feat(swc): enhance TransformOutput with diagnostics#10312
chenjiahan merged 3 commits intomainfrom
fix/emit-swc-warn-diagonositcs

Conversation

@GiveMe-A-Name
Copy link
Member

Summary

The Swc plugin emit warn diagnostics will ignore by swc before, according to this PR swc-project/swc#10027, swc will return a diagnostics. So we can emit diagnostics to loaderContext.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented May 9, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 979861c
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/681dc6f73adc060008471ba7

@github-actions github-actions bot added release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack. labels May 9, 2025
@GiveMe-A-Name GiveMe-A-Name requested a review from bvanjoi May 9, 2025 06:41
@codspeed-hq
Copy link

codspeed-hq bot commented May 9, 2025

CodSpeed Performance Report

Merging #10312 will not alter performance

Comparing fix/emit-swc-warn-diagonositcs (979861c) with main (489585f)

Summary

✅ 11 untouched benchmarks

@chenjiahan chenjiahan changed the title feat: enhance TransformOutput with diagnostics feat(swc): enhance TransformOutput with diagnostics May 10, 2025
@chenjiahan chenjiahan merged commit 73f147d into main May 10, 2025
53 of 55 checks passed
@chenjiahan chenjiahan deleted the fix/emit-swc-warn-diagonositcs branch May 10, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants