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
Right now we're using babel/register to run everything in commitizen and to get ES6 features. I'm doing this because I need to be able to require() adapters on the fly but still get the features of ES6. I'd love for most of the cli to be pre-built with babel, leaving only the adapter part to using babel/register. This would help git-cz to be faster. I've never done this before and am not even sure if it is possible. Any help would be great.
The text was updated successfully, but these errors were encountered:
If you want to put in a PR, that'd be excellent. My main concern is that we do a lot of work with paths and I'd just need to find a way to test the built version. Thanks so much!
tjoskar
pushed a commit
to tjoskar/cz-cli
that referenced
this issue
Oct 30, 2015
Precompiling all ES6 code to ES5 with babel to gain performance
Adding a .nodeignore file as well to ignore the source code and tests
files when publishing to npm
See commitizen#39
Right now we're using babel/register to run everything in commitizen and to get ES6 features. I'm doing this because I need to be able to require() adapters on the fly but still get the features of ES6. I'd love for most of the cli to be pre-built with babel, leaving only the adapter part to using babel/register. This would help git-cz to be faster. I've never done this before and am not even sure if it is possible. Any help would be great.
The text was updated successfully, but these errors were encountered: