rollup-plugin-minifyliterals
Minify html in template literals using html-minifier.
Experimental support for minifying templates literals that have already been transpiled (i.e. string concatenation).
Installation
npm install --save-dev rollup-plugin-minifyliterals
Usage
For best results run before transpiling to es5. This will allow you to send extra options to through to html-minifier.
// rollup.config.js entry: 'src/index.js' dest: 'dist/my-lib.js' plugins:
License
MIT