Skip to content

Question: what dependencies does a compiled template function have? #115

Closed

Description

@netaisllc

Not a bug at all

Considering using Eta for a project that requires templates to be precompiled into functions; Eta seems to have this well covered. Kudos on the approach and for being fresh, fast, and typed.

The ideal case is being able to take such a function and executing it in an arbitrary JS environment. But from the docs I can't really tell if the function assumes Eta, helpers, a runtime, etc to also be present. (Some other JS templating projects use that approach.)

Any hints would be helpful and I'm happy to update docs in this regard for you :). Such as here https://eta.js.org/docs/api/compilation and/or the TypeDoc page.

Activity

  1. Repository owner locked and limited conversation to collaborators on May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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