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: user compilation config lose #6568

Merged
merged 3 commits into from
Oct 12, 2023
Merged

Conversation

luhc228
Copy link
Collaborator

@luhc228 luhc228 commented Oct 10, 2023

问题:通过 userConfig 设置的 swc 编译配置(比如 syntaxFeatures.exportDefaultFrom),经过 plugin-rax-compat 插件处理后会丢失

@luhc228 luhc228 added the need review Need Review label Oct 10, 2023
@ClarkXia
Copy link
Collaborator

这里 deep merge 的处理太复杂了,后面考虑直接在 API 层面支持 deepmerge 的 option,类似 modifyUserConfig

linbudu599
linbudu599 previously approved these changes Oct 10, 2023
@wssgcg1213
Copy link
Collaborator

related to #6342

ClarkXia
ClarkXia previously approved these changes Oct 10, 2023
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (6f18c3d) 79.94% compared to head (9cd198b) 79.94%.

Additional details and impacted files
@@              Coverage Diff              @@
##           release/next    #6568   +/-   ##
=============================================
  Coverage         79.94%   79.94%           
=============================================
  Files               216      216           
  Lines             18812    18812           
  Branches           2441     2441           
=============================================
  Hits              15040    15040           
  Misses             3741     3741           
  Partials             31       31           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@luhc228 luhc228 dismissed stale reviews from ClarkXia and linbudu599 via 00d4787 October 12, 2023 02:21
@ClarkXia ClarkXia mentioned this pull request Oct 12, 2023
12 tasks
@ClarkXia ClarkXia merged commit 47a7a25 into release/next Oct 12, 2023
6 checks passed
@ClarkXia ClarkXia deleted the fix/compilation-config-lose branch October 12, 2023 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need review Need Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants