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
IMO we should drop the transpilation step when releasing a revived version. I just had a (very) quick look into the sources and do not see anything that really requires us to transpile, when we would drop support for older Node versions at least.
This would have the benefit of being able to also npm install ghooks from its repo or from a fork (like described here: #216 ), using it right away instead of having to cope with the transpilation step (dist folder being only created upon build, prior to publishing) and its requirements (e.g. having babel installed).
The text was updated successfully, but these errors were encountered:
Yeah, my memory is failing on reminding me the reasons why we added babel (I'm on my phone, kinda painful to go through the git history to find out). My guess would be to support old node versions, as you mentioned. I'm all for it!
IMO we should drop the transpilation step when releasing a revived version. I just had a (very) quick look into the sources and do not see anything that really requires us to transpile, when we would drop support for older Node versions at least.
This would have the benefit of being able to also npm install ghooks from its repo or from a fork (like described here: #216 ), using it right away instead of having to cope with the transpilation step (
dist
folder being only created upon build, prior to publishing) and its requirements (e.g. having babel installed).The text was updated successfully, but these errors were encountered: