Minifying app.js output (v2)
Hi all!
Currently Filament Form Builder is outputting something like 900kb of JavaScript (~250 gzipped) out of the box.
Is there any way to serve only the JavaScript that is necessary for the fields we're using or customize what is included in the bundle?
I love Filament Form Builder and want to push for it in production, but I know the filesize will be an issue for our engineering team.
1 Reply
if you dig into the FormsAlpinePlugin and replace it with your own, you can probably choose which fields you want to use
in v3, each field has its own asynchronously loaded JS file so this isnt a problem any more