teux / ng-cache-loader

Webpack loader to put HTML partials in the Angular's $templateCache.
83 stars 15 forks source link

v0 is not defined when template is empty or contain only comment #30

Closed Rativel closed 7 years ago

Rativel commented 7 years ago

Seems like, when template is empty after minification it does not generate code for inserting template to $templateCache and there is no v0 variable, which makes browser complaining with module.exports=v0;.

pawelpabich commented 7 years ago

Same here

compwright commented 7 years ago

+1