Перейти до основного змісту
Версія: 9.x

pnpm pack

Create a tarball from a package.

Options

--pack-destination <dir>

Directory in which pnpm pack will save tarballs. The default is the current working directory.

--pack-gzip-level <level>

Specifying custom compression level.

Life Cycle Scripts

  • prepack
  • prepare
  • postpack