Closed mmalecki closed 4 months ago
A bit more automation would be great. I would oppose to more files since the HTTP server of the ESP32 is not very powerful and I had issues in the past where too many connection requests caused failure. See also #53 for reference.
That sounds good, thank you! It should be good to merge it in, I don't think I'm able to.
Appreciate the context around the single file bundle. Will see if I can make webpack
do our bidding here.
Fixes #74. This makes changes in the
frontend_src
, but I'm struggling to find any automated process that spits out aindex.html
with the minified versions, and so wasn't able to test this on real hardware just yet. Is that build manual right now? If so, would you be open to automating it a little? I was thinking we could minify the.js
files (toastify and our code) separately and including them with<script src>
tags. That leads to nicer, piece-by-piece caching (IMO, and probably wholly irrelevant here) and easier build.