-
Notifications
You must be signed in to change notification settings - Fork 44
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
Check on existing callback #22
base: master
Are you sure you want to change the base?
Conversation
Removed callback from `html-webpack-plugin-before-html-generation`, because it is not returning a callback anymore.
Removed callback
Should the callback be removed or, to retain backward compatibility, should the callback function be called with the following validation? if(typeof cb == 'function'){
cb(null, data);
} I'm definitely out of my place here cause I'm no programmer, but looks safer to me. |
@tatobari Good point. I did some tests before this change and did not get any callback function returned, that's why I removed it. But for backward compatibility I will change it. And now let's hope it will be merged |
@navelpluisje Awesome man! Let's hope @gabiseabra has time to check your PR. |
@navelpluisje Hate to say this, but line 116 says |
@tatobari Changed it. At least it couldn't break anything ;-) |
@navelpluisje Job well done, sir. |
Is there any chance of this being accepted soon? |
is here a some life exists?.. |
I'm assuming this project has been abandoned, so I've forked, merged this PR and published the module as @beyonk/google-fonts-webpack-plugin - also on github. Please test and let me know your findings! |
Thank you for maintaining this @antony . If you intent on maintaining it, can you please make a separate repo (instead of fork) so we can file issues and work on it there ? |
A fork is a separate repository. You can file issues there :) |
Done. Btw I don't plan on active maintenance, we use rollup now. But if people open PRs I will review, merge and release. |
@antony Just sent a PR there :) |
Removed callback from
html-webpack-plugin-before-html-generation
, because it is not returning a callback (anymore).fixes #19