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

feat: clean dts files / buildinfo / .rslib temp folder #486

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

Timeless0911
Copy link
Contributor

@Timeless0911 Timeless0911 commented Nov 27, 2024

Summary

  • Load tsconfig in plugin hook in main process instead of child process
  • When using bundle DTS, temporary folders are distinguished by the environment name
  • When output.cleanDistPath is not set to false, clean .d.ts/mts/cts files in dts distPath
  • Always clean .rslib temp folder when dts.bundle set to true
  • Always clean tsconfig.buildinfo file

Related Links

closes: #405
closes: #139

Checklist

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

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit b087c0c
🔍 Latest deploy log https://app.netlify.com/sites/rslib/deploys/67470b04a24e4e0008e4dcf6
😎 Deploy Preview https://deploy-preview-486--rslib.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.

Copy link

codspeed-hq bot commented Nov 28, 2024

CodSpeed Performance Report

Merging #486 will not alter performance

Comparing feat/clean-dts-path (c51a159) with main (da8191a)

Summary

✅ 5 untouched benchmarks

@Timeless0911 Timeless0911 enabled auto-merge (squash) November 28, 2024 06:23
@Timeless0911 Timeless0911 merged commit df132a4 into main Nov 28, 2024
19 checks passed
@Timeless0911 Timeless0911 deleted the feat/clean-dts-path branch November 28, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Failed to clean DTS output path [Feature]: Support clean distPath of DTS before build
2 participants