rspack icon indicating copy to clipboard operation
rspack copied to clipboard

refactor: add JSDoc to improve Rspack configuration.entry|context|mode types

Open GiveMe-A-Name opened this issue 1 year ago • 1 comments

…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 https://github.com/web-infra-dev/rspack/issues/4241 more detail.

Summary

Checklist

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

GiveMe-A-Name avatar Sep 29 '24 08:09 GiveMe-A-Name

Deploy Preview for rspack ready!

Built without sensitive environment variables

Name Link
Latest commit cb36dbf74ae607e7f18cc47d1c5104095ee6b542
Latest deploy log https://app.netlify.com/sites/rspack/deploys/6704a3a22d7ade00084e3a9e
Deploy Preview https://deploy-preview-8016--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.

netlify[bot] avatar Sep 29 '24 08:09 netlify[bot]