Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

pkg-packager ZIP Builder (built-in)

A built-in pkg-packager builder to produce ZIP output.

Usage

packager.target('./path/to/module/', {
  productName: 'Bundle',
  type: 'zip'
})

packager.package((err, results) => {
  console.log(results.name)
})

Configuration

{
  productName: null, // The name of the packaged output product. This
                     // builder will use the productName as the output
                     // name of the file with the `.zip` extension added.
                     // The default value is the basename of the built `pkg`
                     // executable file name.
}