mirror of https://github.com/sveltejs/svelte
While reviewing generated server-side code, I found that the literals `<!--ssr:if:true-->` and `<!--ssr:if:false-->` are used at every branch. Replace them by constants `$.SSR_IF_TRUE` and `$.SSR_IF_FALSE` resulting in smaller generated code that can be minified more and perform less memory allocations.pull/10305/head
parent
ecba825fb7
commit
0f47254637
Loading…
Reference in new issue