mercredi 18 février 2015

How to build a module and its dependencies in NodeJs

I've been trying to understand by reading many tutorials and documentation but I wasn't able to grasp a simple concept.


My project is quite simple so far. I did a "npm install remote-project" and it gives me something like that



<my root dir>
<node_modules>
<remote-project>
<node_modules>
<remote-project-dependencies-and-more-node_modules>


Is there a way to build only the remote project and all its dependencies into 1 file easily? Or do I have to compile them manually using grunt?


The reason I ask is that I'm sure there is a simple way to do that using a gruntfile or an utility.


Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire