0.0.2 • Published 1 year ago

nexrender-comp-sequence v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

nexrender-action-sequence-comps

This plugin causes comps in the target project to be combined into one comp before rendering

Install

npm install nexrender-comp-sequence

How to use

  1. Add this module as the last pre-render action
  2. Add an array of comps to sequence as sequence. They will be sequenced in the order you list them
  3. The target comp you supply will be used as a template
{
    "template": {
        "src": "http://www.foo.com/template.aep",
        "composition": "used-as-a-template"
    },
    "actions": {
        "prerender": [
            {
                "module": "nexrender-comp-sequence",
                "sequence": [
                    "first-comp-to-be-added",
                    "second-comp",
                    "third-comp" 
                ]
            }
        ],

Notes

The new comp will only contain the work areas - other parts will be trimmed off

This plugin is based on the excellent MOGRT action which you can find here https://github.com/vonstring/nexrender-action-mogrt-template