grunt-html2js-terser
JSON →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+.
Resources
packagegrunt-html2js-terser ↗
API endpoints
full doc /v1/registry/grunt-html2js-terser