mix tessera.compile_component (Noizu.Tessera v0.2.0)

Copy Markdown View Source

Compiles one or more ORDINARY Hologram components into standalone, host-agnostic bundles using Hologram's own compiler (Tier 2 spike).

mix tessera.compile_component HoloKit.Components.EditableList \
                               HoloKit.Components.Counter \
                               ThirdParty.FancyList

Options:

  • --out <dir> — output dir (default: priv/static/tessera-holo)

Third-party extension modules (spike item A) are picked up from test/support/third_party/**/*.ex under the current project, compiled to a scratch ebin and put on the code path before the Hologram pipeline runs — so use <BaseComponent>, tag: "..." derived components compile alongside the originals.

Requires a Hologram app context (run from the host app whose deps include both :hologram and :noizu_tessera).