Skip to content

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

Merged
chenjiahan merged 2 commits intomainfrom
refactor/configuration-types
Oct 18, 2024
Merged

refactor: add JSDoc to improve config.target, devtool, node, cache types.#8152
chenjiahan merged 2 commits intomainfrom
refactor/configuration-types

Conversation

@GiveMe-A-Name
Copy link
Copy Markdown
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).

@netlify
Copy link
Copy Markdown

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
Copy Markdown
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
@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