Decompress/extract your zip-archived template file and/or assets to the project work directory.
If you are using binary version of the nexrender, there is no need to install the module, it is included in the binary build.
npm i @nexrender/action-decompress -g
When creating your render job provide this module as one of the prerender
actions:
Options:
format
- format of the archive to decompress, currently onlyzip
is supportedoverwrite
- if set totrue
, it will overwrite existing files in the project work directory on name conflict, default isfalse
// job.json
{
"actions": {
"prerender": [
{
"module": "@nexrender/action-decompress",
"format": "zip",
"overwrite": false,
}
]
}
}