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 & types to improve HtmlRspackPlugin, IgnorePlugin options types #8004

Conversation

GiveMe-A-Name
Copy link
Member

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 fro HtmlRspackPlugin.
  • Add JSDoc for IgnorePlugin.

See #4241 more detail.

Checklist

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

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for rspack ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit bda170c
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66f65c9a1d2e11000848e0a2
😎 Deploy Preview https://deploy-preview-8004--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.

@GiveMe-A-Name GiveMe-A-Name force-pushed the refactor/html-plugin-options-types branch from 1feae40 to ec053ca Compare September 27, 2024 06:52
@GiveMe-A-Name GiveMe-A-Name requested review from 9aoy and LingyuCoder and removed request for 9aoy September 27, 2024 06:53
@GiveMe-A-Name GiveMe-A-Name changed the title refactor: add JSDoc & types for HtmlRspackPlugin, IgnorePlugin. refactor: add JSDoc & types to improve HtmlRspackPlugin, IgnorePlugin options types Sep 27, 2024
@GiveMe-A-Name GiveMe-A-Name force-pushed the refactor/html-plugin-options-types branch from f48c754 to bda170c Compare September 27, 2024 07:19
@GiveMe-A-Name GiveMe-A-Name merged commit 27a7495 into web-infra-dev:main Sep 27, 2024
28 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