Closed jasoneveleth closed 10 months ago
the python minifying script that Franklin uses is a bit crap and it's probably a good thing to just turn it off with optimize(..., minify=false)
; in addition it doesn't help that much if you use github for deployment as github already basically acts as an optimiser serving pages via gzip (at least it used to but I don't see why it wouldn't anymore).
prerendering is a bit better but if you want to be sure what you see locally is what you get remotely, just turn both minify=false, prerender=false
in the call to optimize (which isn't much of an optimize pass then 😄 )
in the next version of Franklin this stuff is just removed (though there's the use of a minification jll in discussion)
Thank you.
I have this code block:
When I use
using Franklin; serve(prerender=true)
everything works, but when I push to github and it does minification and everything, the<br/>
elements disappear. Is there a workaround? You can see them disappear on my website at the bottom.