Recently, I published an NPM package. In that package, there's a project folder that contains multiple other folder and some of them are empty too, purposely.
But when published to NPM, empty folders are deleted by default. I came to know of this when I installed my own module.
What's this issue and how to avoid deletion of these empty folder? Thanks for helping.
Solution:
The only solution so far is to creat directories programatically. Thanks for your help.