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 Rspack configuration.entry|context|mode types #8016

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GiveMe-A-Name
Copy link
Member

…context] types.

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.entry
  • Add type & JSDoc for config.context
  • Add type & JSDoc for config.dependencies
  • Add type & JSDoc for config.mode

See #4241 more detail.

Summary

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 10116d6
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66fa503439b4290008a119c7

@GiveMe-A-Name GiveMe-A-Name changed the title refactor: add JSDoc to improve Rspack configuration types refactor: add JSDoc to improve Rspack configuration types Sep 29, 2024
@GiveMe-A-Name GiveMe-A-Name changed the title refactor: add JSDoc to improve Rspack configuration types refactor: add JSDoc to improve Rspack configuration.entry|context|mode types Sep 29, 2024
@GiveMe-A-Name GiveMe-A-Name force-pushed the refactor/configuration-entry-types branch from 483d5cb to eac1ead Compare September 30, 2024 07:12
@GiveMe-A-Name GiveMe-A-Name requested review from ahabhgk and h-a-n-a and removed request for ahabhgk September 30, 2024 07:12
@GiveMe-A-Name GiveMe-A-Name force-pushed the refactor/configuration-entry-types branch from eac1ead to 10116d6 Compare September 30, 2024 07:16
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.

1 participant