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

Automate JS Minify Process #208

Open
Dresdn opened this issue Mar 12, 2023 · 0 comments
Open

Automate JS Minify Process #208

Dresdn opened this issue Mar 12, 2023 · 0 comments

Comments

@Dresdn
Copy link

Dresdn commented Mar 12, 2023

To help establish a consistent and, more importantly, a trusted process to minify the static/js contents, this should be 100% automated in a public way. My initial thought would be to use a GitHub Action that auto-minifies and commits when any of the static/js/*.js files change.

When looking at my contribution to [bootstrap5.modal.forms.js](https://github.com/trco/django-bootstrap-modal-forms/blob/master/bootstrap_modal_forms/static/js/bootstrap5.modal.forms.js), I realized I could have put something malicious in, minified it, and there would have been no way for the community to verify the contents of that commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants