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

Document webpack change: feat: export default handler creator for Progress plugin #6877

Closed
webpack-bot opened this issue Jun 5, 2023 · 0 comments · Fixed by #6887
Closed

Comments

@webpack-bot
Copy link

A pull request by @alexander-akait was merged and maintainers requested a documentation change.

See pull request: webpack/webpack#17312


Here:

Also createDefaultHandler can be used for more intresting things - for example you can customize it using emoji or provide more details

Summary

🤖 Generated by Copilot at 6550cb5

This pull request enhances the ProgressPlugin class by adding type definitions, JSDoc comments and a static createDefaultHandler function. These changes improve the code quality, documentation and usability of the plugin.

Details

🤖 Generated by Copilot at 6550cb5

  • Add type definitions and JSDoc comments for various parameters, functions and variables in lib/ProgressPlugin.js to improve type checking, readability and documentation (link, link, link, link, link, link, link, link, link, link, link, link)
  • Add type assertions for the name variable in the hookTap function and the cacheGetPromise variable in the apply function to improve type checking and accuracy (link, link)
  • Export the createDefaultHandler function as a static property of the ProgressPlugin class to make it available for external use and improve usability and consistency (link)
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 a pull request may close this issue.

1 participant