Skip to content

Asset trigger extension and wildcards #10

@guybedford

Description

@guybedford

From the bug report at https://spectrum.chat/zeit/now/reading-template-assets-on-file-system-using-now-node~56f167d9-7416-444f-a352-6738b341df48, we should be able to support the following pattern:

const template_location = process.cwd() + '/api/email-templates/' + template_name + name + '.html';

That is:

  1. Supporting process.cwd() as a trigger for expression analysis
  2. Supporting wildcards in the analysis
  3. Supporting wildcards in the emission process

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions