I have read the part of the Webpack documentation that explains why Webpack will minify HTML when setting a loader using the module.loaders syntax. But I can't find anywhere that explains how to stop this. I am using pug-loader and html-webpack-plugin to process my templates, but Webpack always spits them out with the HTML minified.
How can I stop this?
{ test: /\.pug$/, use: 'pug-loader' } new HtmlWebpackPlugin({ title: 'Home', filename: 'index.html', template: './src/index.pug', inject: 'head', chunks: ['app'], hash: true }),