Can you define better what you mean by huge file size?
if it's scale, you can set a smaller scale for your assets to be used in Spine.
If it's file size, I'm using the script and it doesn't seem to be the case with my exports, can you post/send us to our mail an example?