You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To help save even more bytes by reducing overall index.html size, we should minify all HTML. Related to the conversation here
Also, anywhere we are using \n inside (tagged) template literals, we should remove them since template literals already preserve line breaks, so adding the \n just adds more space.
Details
Because all the HTML is created by serializing with puppeteer, we wouldn't really be able to do it with webpack, and so would have it do it in the serialize lifecycle, I believe.
~~Was also thinking validating the HTML might be good but as since this is coming from puppeteer, I think that would / could be assumed...~~~ - we do this now via #631 and subsequent PRs
The text was updated successfully, but these errors were encountered:
Type of Change
Summary
To help save even more bytes by reducing overall index.html size, we should minify all HTML. Related to the conversation here
Also, anywhere we are using
\n
inside (tagged) template literals, we should remove them since template literals already preserve line breaks, so adding the\n
just adds more space.Details
Because all the HTML is created by serializing with puppeteer, we wouldn't really be able to do it with webpack, and so would have it do it in the serialize lifecycle, I believe.
~~Was also thinking validating the HTML might be good but as since this is coming from puppeteer, I think that would / could be assumed...~~~ - we do this now via #631 and subsequent PRs
The text was updated successfully, but these errors were encountered: