Minify javascript in attributes
rniii opened this issue · 0 comments
rniii commented
Event attributes like onchange
might contain javascript
Additionally, it might be useful when using frameworks like alpinejs, where directives contain js code:
<div x-data="{
size: 100,
// imagine lots of properties here
}">
<!-- ... -->
</div>
It would be useful if the list of minified attributes was configurable, maybe with a list of prefixes or just regex