-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
This only happens for release (debug does not minify HTML).
Related code:
Line 3661 in 011fabe
| def minify_html(filename): |
Can be avoided with -s MINIFY_HTML=0
Personally I don't think emscripten should bother minifying HTML at all. For my shell file, minification reduced the file from 10KB to 6.5KB, so the savings just aren't worth it. And given the complexity of the minify_html function (a lot of flags passed to this external tool, many knobs to turn) there may be other unwanted semantic modifications going on here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
