-
Notifications
You must be signed in to change notification settings - Fork 547
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
Can commitizen be pre-compiled? #39
Labels
Milestone
Comments
One can add:
And then create a
And point the
I think that would do the trick. I can create a pull request if you want. |
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
Merged
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: