In the npm documents, we read about bundledDependencies
:
This defines an array of package names that will be bundled when publishing the package.
What is the meaning of publishing the package? I know that bundledDependencies are bundled in the tarball file after running npm pack
. But is there any difference between bundledDependencies and normal dependencies when running npm publish
and publishing the package to the npm registry?