Gutenberg and custom blocks messed up pagespeed score. What did I wrong?

Ok so…
The problem was caused because I loaded these scripts on the front end in my plugin but these are needed only by editor.
To solve this all I had to do was change the content of my block.json files – replace the “script” with “editorScript” so these js files are loaded only for editor 🙂