forked from OpenEVSE/openevse_esp32_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an initial version of code to combine and minify the HTML, CSS and JS. The idea is that, when minified and combined, there will be less resources used on the ESP and lower memory usage. This will also allow config.js to be split up in to multiple files and maybe allow conditional building to merge the code base with EmonESP, etc. On the downside the HTML now has to be 'compiled' which can slow down development. The minifying is done mostly in pure Python and intergrated in to the PlatformIO build process so no additional instilation steps are required. The exception to this is the JS minification which is done using a web service (the Python minifyer is broken) so you need to be online when building.
- Loading branch information
1 parent
cd17455
commit 2dffe04
Showing
30 changed files
with
20,646 additions
and
2,055 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,3 +63,7 @@ full-upload.sh | |
*.gch | ||
.vscode/browse.vc.db* | ||
.vscode/c_cpp_properties.json | ||
|
||
# Python code | ||
*.pyc | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.