Skip to content

Compile handlebars templates #26006

Closed
Closed

Description

@PVince81

Now that we have a makefile, we can have a target that builds handlebar templates.

  • add a rule "build-templates" to compile the handlebar templates into JS files
  • store the built templates in the same dir
  • the compiled template must be loaded by adds with PHP addScript()
  • exclude original template file from dist build ?

Will help fix #14404 when we port all existing hard-coded templates.
Will make it possible to JS test with generated templates: #12848 (comment)

CC @DeepDiver1975

Activity

  1. added this to the milestone on Sep 1, 2016
  2. self-assigned this
    on Dec 8, 2016
  3. PVince81 commented on Dec 14, 2016

    @PVince81
    ContributorAuthor

    PR here #26021

  4. modified the milestones: 10.1, 10.0 on Apr 4, 2017
  5. PVince81 commented on Dec 18, 2017

    @PVince81
    ContributorAuthor

    I revived the PR a bit. We should merge it as a first step.

  6. PVince81 commented on Sep 5, 2019

    @PVince81
    ContributorAuthor

    no more in scope. Phoenix is the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions