Vishal0203/file-include-webpack-plugin

indent in html

Closed this issue · 4 comments

after build, html has wrong indents.
image
How to fix it?

Is it needed? Generally we end-up minifying our html files, so it doesn't matter if the indent's are not okay in the build, in my opinion. Do let me know if there is any specific reason why you want this.

my backend developers complain that it is very inconvenient to read the code, this is the main reason. If this can be fixed, I will be grateful, and if you do this please write.

@AJIEKCEU Version 1.3.6 provides support to beautify the generated html.
Corresponding documentation here - https://github.com/Vishal0203/file-include-webpack-plugin#how-to-pass-custom-html-cleaner-options

thanks so much! helped.