minify-html-literals-loader
v1.1.1
Published
Webpack loader wrapper of minify-html-literals
Downloads
4,912
Maintainers
Readme
minify-html-literals-loader
Webpack loader wrapper of minify-html-literals. Loader can be placed anywhere in rule of file processing, with one exception: if you transpile to ES5, loader must be placed before.
Installation
npm install minify-html-literals-loader --save-dev
Usage
module: {
rules: [{
test: /\.(js|jsx|ts|tsx)$/,
use: [
{
loader: 'minify-html-literals-loader'
}
]
}]
}
Options are passed to minify-html-literals
as described here.