Closed scottohara closed 3 years ago
Currently we're pinned to html-loader@0.5.5 while waiting for this to be merged/released:
html-loader@0.5.5
https://github.com/WearyMonkey/ngtemplate-loader/pull/86
When we eventually can upgrade to html-loader@1.1.0, the config needs to change to this:
html-loader@1.1.0
{ 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)
minimize: false
true
Currently we're pinned to
html-loader@0.5.5
while waiting for this to be merged/released:https://github.com/WearyMonkey/ngtemplate-loader/pull/86
When we eventually can upgrade to
html-loader@1.1.0
, the config needs to change to this:When testing this change, check whether
minimize: false
is needed (its nowtrue
by default for production mode in 1.x, but its not clear whether minimize will work with partial templates)