Skip to content

multiple options { tags: [] } override each other before gulp task start working #69

@perymimon

Description

@perymimon

the is tags options written directly to mustache instance before pipe working so when gulp pipe run just the last definition work.

if (options.tags) {
    mustache.tags = options.tags
  }

Example:

return Combine(
        mustache(templateObject2,{
            tags: ['${', '}']
        }),
        mustache(templateObject1,{
            tags: ['{{', '}}'] // just that one will work/ 
        }),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions