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 configuration.externals types #8013

Conversation

GiveMe-A-Name
Copy link
Member

@GiveMe-A-Name GiveMe-A-Name commented Sep 29, 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.externals

See #4241 more detail.

Checklist

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

Copy link

netlify bot commented Sep 29, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit f4e9a33
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66fa4e2a8e4bed0008fe24a3

@GiveMe-A-Name GiveMe-A-Name force-pushed the refactor/configuration-externals-types branch from bff610c to f4e9a33 Compare September 30, 2024 07:07
@chenjiahan chenjiahan changed the title refactor: add JSDoc & types to improve Rspack configuration.externals types. refactor: add JSDoc to improve configuration.externals types Oct 1, 2024
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.

LGTM 👍🏻

@chenjiahan chenjiahan merged commit 33a5468 into web-infra-dev:main Oct 1, 2024
31 checks passed
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