Open navelpluisje opened 6 years ago
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 cd
instead of cb
. Little code TYPO, I guess.
@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 :)
@antony I don't see an Issues tab there tho ?
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