Closed thomasfrobieter closed 4 years ago
I just had a look into your code and i realized the exclusions are limited to the hardcoded 'dist' folder. So i've added an option to copy the whole package instead. I wasn't sure what the "deepPackage" thing is about, so i didn't make a pull request for this change.
Also.. maybe it's a better idea to limit the whole package just by the exclusions list (what first was my understanding of this list), not just scoping the 'dist' folder.
Ouch, i just realized the name is 'gulp-npm-dist', not 'gulp-npm-copy-deps', so my request is probably out of scope of this plugin.
Here's my task (Gulp 4):
This is my exclusion array:
The structure of the package (foundation-sites) in the node_modules folder is:
But the only copied folder is "dist".