Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webfilesbuilder update #670

Open
wants to merge 4 commits into
base: stable
Choose a base branch
from
Open

webfilesbuilder update #670

wants to merge 4 commits into from

Conversation

tctlrd
Copy link

@tctlrd tctlrd commented Feb 11, 2025

  • simplified/re-wrote gulpfile.js builder script and added more detailed log output
  • used fs-extra instead of gulp-gzip due to file corruption issues happening with .woff icon font file at gzip stage when using gulp-gzip.
  • updated npm dependencies in package.json (there is currently a warning on npm install "2 high severity vulnerabilities" over gulp-htmlmin's dep: kangax html-minifier REDoS vulnerability - https://github.com/advisories/GHSA-pfq8-rq6v-vf5m)
  • numbering prefix added to 3rdparty js files to achieve correct js order for concat/merge stage in the builder

I have not tested the resulting src/webh/*.gz.h files on esp8266, since I am solely working with esp32 at this time. The output of this builder are running alright on the esp32 fork that I am working on /tctlrd/esp32-actl.

@tctlrd tctlrd mentioned this pull request Feb 11, 2025
@matjack1
Copy link
Collaborator

hey @tctlrd this is great, thank you!!

The only thing that I would ask you to change is to remove the process folder from this PR and add it to the .gitignore.

I've tested everything else and it works fine. Also removing that folder is fine. Thanks!

@matjack1
Copy link
Collaborator

Oh, wait, I would also leave in the codebase the package-lock.json file, so we are sure to use the same dependencies. Thanks

@tctlrd
Copy link
Author

tctlrd commented Feb 15, 2025

done

@tctlrd tctlrd closed this Feb 15, 2025
@tctlrd tctlrd reopened this Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants