Reputation: 9474
As per the documentation npm publish
accepts either a folder or tarball as argument. If a folder is the target, will npm publish
and/or the target registry perform any kind of compression of the folder in question?
Upvotes: 1
Views: 518
Reputation: 2407
Yes.
npm publish
delegates to pack.packDirectory
in case of a directory as an argument, which uses the npm-packlist
package and eventually creates a tar.
Upvotes: 1