Skip to content

chore: enable no-dts-cache by default#9162

Merged
hardfist merged 2 commits intomainfrom
yj/disable-dts-cache
Feb 11, 2025
Merged

chore: enable no-dts-cache by default#9162
hardfist merged 2 commits intomainfrom
yj/disable-dts-cache

Conversation

@hardfist
Copy link
Copy Markdown
Contributor

@hardfist hardfist commented Feb 6, 2025

Summary

when dts-cache enabled bindind.d.ts will wrongly generate empty definition which will cause ts error

the missing dts is caused by there're some crate napi which doesn't contain build.rs so we add build.rs for every crate which contains napi, thank you @Brooooooklyn's help

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 6, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 630f174
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67ab14f0cd5a850008d47fb0
😎 Deploy Preview https://deploy-preview-9162--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Feb 6, 2025
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 6, 2025

CodSpeed Performance Report

Merging #9162 will not alter performance

Comparing yj/disable-dts-cache (630f174) with main (7ddaa9a)

Summary

✅ 6 untouched benchmarks

@hardfist hardfist closed this Feb 7, 2025
@hardfist hardfist reopened this Feb 11, 2025
@hardfist hardfist requested a review from h-a-n-a February 11, 2025 09:32
@hardfist hardfist merged commit 12ca558 into main Feb 11, 2025
40 checks passed
@hardfist hardfist deleted the yj/disable-dts-cache branch February 11, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants