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

refactor: add JSDoc to improve config.target, devtool, node, cache types. #8152

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

GiveMe-A-Name
Copy link
Member

@GiveMe-A-Name GiveMe-A-Name commented Oct 17, 2024

Summary

Zod types system is not easy to understand by user.

We tend use raw ts provider intellisense and jsDoc for user in ide.

  • Add type & JSDoc for config.target
  • Add type & JSDoc for config.devtool
  • Add type & JSDoc for config.node
  • Add type & JSDoc for config.cache
  • Add type & JSDoc for config.externalsPresets

See #4241 more detail.

Checklist

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

Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 4e9f99f
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6711fc59199ac4000889e361
😎 Deploy Preview https://deploy-preview-8152--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.

Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@chenjiahan chenjiahan merged commit 1c7a37c into main Oct 18, 2024
29 checks passed
@chenjiahan chenjiahan deleted the refactor/configuration-types branch October 18, 2024 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants