Skip to content

refactor: add JSDoc to improve configuration.externals types#8013

Merged
chenjiahan merged 2 commits intoweb-infra-dev:mainfrom
GiveMe-A-Name:refactor/configuration-externals-types
Oct 1, 2024
Merged

refactor: add JSDoc to improve configuration.externals types#8013
chenjiahan merged 2 commits intoweb-infra-dev:mainfrom
GiveMe-A-Name:refactor/configuration-externals-types

Conversation

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

@netlify
Copy link
Copy Markdown

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
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.

LGTM 👍🏻

@chenjiahan chenjiahan merged commit 33a5468 into web-infra-dev:main Oct 1, 2024
@GiveMe-A-Name GiveMe-A-Name deleted the refactor/configuration-externals-types branch December 26, 2024 03:43
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