Saltar al contenido principal
Version: 8.x

pnpm pack

Create a tarball from a package.

Opciones

--pack-destination <dir>

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

--pack-gzip-level <nivel>

Agregado en: v8.3.0

Especificando el nivel de compresión personalizado.

Life Cycle Scripts

  • prepack
  • prepare
  • postpack