rspack
rspack copied to clipboard
refactor: add JSDoc to improve Rspack configuration.entry|context|mode types
…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).
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.