Is there a good way to npm install minified code from a Git repository?


(Damien Golding) #1

I am developing using a private npm module and given the circumstances(I am the only person in the project who has the knowledge to do so) I don’t think purchasing a private npm registry or setting up a free npm registry would be appropriate.

I have been using a private git repository by installing via ‘git+http://myrepo…’ style url.
However, it is a bit slow. Making a separate repository for minified code seems like a bad hack.

Is there any appropriate way of achieving what I want?


(Markus Tacker) #2

You could put the dist version of your code in an orphaned branch of that repository.


(Damien Golding) #3

Thanks, I’ll give it a try.


(system) #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.