-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Add JSDoc types for ContextExclusionPlugin #7658
Conversation
For maintainers only:
|
lib/ContextExclusionPlugin.js
Outdated
apply(compiler) { | ||
compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", cmf => { | ||
compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", ( | ||
/** @type {ContextModuleFactory} */ cmf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it required? Should't compiler.hooks.contextModuleFactory
be typed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. Let me check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be needed
lib/ContextExclusionPlugin.js
Outdated
apply(compiler) { | ||
compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", cmf => { | ||
compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", ( | ||
/** @type {ContextModuleFactory} */ cmf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be needed
…tExclusionPlugin-types
…tExclusionPlugin-types
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
Thanks |
No description provided.