Skip to content

Commit

Permalink
docs(packager): document the require mapping of the hooks
Browse files Browse the repository at this point in the history
afterCopy and afterExtract are mapped to require calls
  • Loading branch information
MarshallOfSound committed Dec 10, 2016
1 parent 0e78b48 commit 87fb6aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,5 @@ Once you have generated a project your `package.json` file will have some defaul
## Configuring `package`

You can set `electronPackagerConfig` with **any** of the options from [Electron Packager](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md).

**NOTE:** The `afterCopy` and `afterExtract` are mapped to `require` calls internally so provide a path to a file that exports your hooks and they will still run.

0 comments on commit 87fb6aa

Please sign in to comment.