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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Timeless0911
Copy link
Collaborator

@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

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.

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
1 participant