apigeetool-node icon indicating copy to clipboard operation
apigeetool-node copied to clipboard

deployhostedtarget should not create zip files for non-bundled dependencies

Open whitlockjc opened this issue 6 years ago • 1 comments

If there is a node_modules directory in your hosted directory (or the directory you use as the source root), apigeetool deployhostedtarget will ALWAYS create .zip files for each node modules. This IS NOT ideal and should not happen since the default mechanism is to npm install and there is already the bundled dependencies feature for cherry-picking the node modules you do need.

whitlockjc avatar Aug 09 '18 18:08 whitlockjc

Also having this problem, when I use the flag --bundled-dependencies it is creating zip files for every dependency when my bundledDependencies looks like this:

 "bundledDependencies": [
    "module1",
    "module2",
    "module3"
  ],

Jaredk3nt avatar Oct 15 '18 16:10 Jaredk3nt