Skip to content

ngtemplate-loader broken by [email protected] #182

Closed
@scottohara

Description

@scottohara

Currently we're pinned to [email protected] while waiting for this to be merged/released:

WearyMonkey/ngtemplate-loader#86

When we eventually can upgrade to [email protected], the config needs to change to this:

{
  loader: "html-loader",
  options: {
    attributes: {
      list: [
        ...,
        { attribute: "typeahead-template-url", type: "src" }
      ]
    },
    minimize: false
  }
}

When testing this change, check whether minimize: false is needed (its now true by default for production mode in 1.x, but its not clear whether minimize will work with partial templates)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions