lit-html-minifier-loader
v1.0.0
Published
webpack loader that minifies the html in template string literals
Downloads
119
Readme
Lit HTML Minifier Loader
Installation
npm i -D lit-html-minifier-loader
module: {
rules: [
{
test: /\.element\.ts$/,
use: [
{
loader: 'ts-loader',
},
// add this loader after ts-loader
{
loader: 'lit-html-minifier-loader',
options: {
debug: true,
}
}
],
include: [
path.join(__dirname, './src'),
]
},
// ...
],
///
}