grunt-html2js-terser

JSON →
library 0.10.0 ·javascript
verified Jun 4, 2026

Grunt plugin that converts AngularJS HTML templates into JavaScript to cache them in an Angular module, eliminating lazy server loads. Version 0.10.0 uses html-minifier-terser instead of html-minifier for minification. Requires Grunt >=1.0.0 (peer dependency) and Node >=10. It is a fork of grunt-html2js with up-to-date dependencies. Designed for AngularJS 1.x projects, it is not suitable for Angular 2+.