django-bootstrap-modal-forms icon indicating copy to clipboard operation
django-bootstrap-modal-forms copied to clipboard

Automate JS Minify Process

Open Dresdn opened this issue 2 years ago • 0 comments
trafficstars

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.

Dresdn avatar Mar 12 '23 16:03 Dresdn