You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior: babel-loader uses util.promisify to promisify a callback function.
Expected/desired behavior: babel-loader uses pify to promisify a callback function.
What is the motivation / use case for changing the behavior? babel-loader already pulls in pify from find-cache-dir. Using that would shave 13 packages off of the dependency tree, for a net reduction of about 442 kb from the install size.
I'd be happy to file a PR.
The text was updated successfully, but these errors were encountered:
Current behavior:
babel-loader
usesutil.promisify
to promisify a callback function.Expected/desired behavior:
babel-loader
usespify
to promisify a callback function.babel-loader
already pulls inpify
fromfind-cache-dir
. Using that would shave 13 packages off of the dependency tree, for a net reduction of about 442 kb from the install size.I'd be happy to file a PR.
The text was updated successfully, but these errors were encountered: