arloliu / copy-node-modules

Fast deploy Node.js modules from local source folder to distination folder
26 stars 14 forks source link

Option to exclude package dependencies within app dependencies #4

Open jaessi opened 7 years ago

jaessi commented 7 years ago

For example, I've included the package imagesloaded as a dependency in my app, but I would like to prevent the ev-emitter dependency of imagesloaded from being copied over, since they provide a compiled js file already. Is this possible?

ezze commented 5 years ago

@jaessi, is filter option what you need? It has been added recently.

jaessi commented 5 years ago

@ezze, thanks for the info! I'll be sure to use this in the future.