When I extract a .pug file with ExtractTextPlugin, it converts it to html but minify, as it unminify??
const extractHTML = new ExtractTextPlugin('[name]-pug.html');
....
{
test: /\.pug$/,
use: extractHTML.extract({
fallback: "style-loader",
use: ['html-loader' ,'pug-html-loader'],
options: {
pretty: true
}
})
}
This is what I used to output unminified HTML: