Closed Beuc closed 5 years ago
cc @juj who added that, I believe.
You can pass -s MINIFY_HTML=0
to disable the HTML minification. See
Thanks. I did look for it in emcc --help (where minification-influencing -g1/-g2 options are located) and in ChangeLog.md.
Since a few versions emcc also minifies the HTML entry point (built from shell.html).
This file is pretty small and does not benefit a lot from minification. However minification is a significant hassle when testing changes in a customized shell.html, or when shipping an HTML entry point that is possibly further customized by the end user (like I do with RenPyWeb, where I provide a generic runtime for Ren'Py games).
I couldn't find an option to selectively remove minification of the HTML entry point either.